Determine whether an ListOption is in the ListOptionCollection.
Namespace: TallComponents.PDF.Forms.FieldsAssembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.1
Syntax
| C# |
|---|
public bool Contains( ListOption listOption ) |
| Visual Basic |
|---|
Public Function Contains ( _ listOption As ListOption _ ) As Boolean |
Parameters
- listOption
- Type: TallComponents.PDF.Forms.Fields..::..ListOption
The ListOption to verify.
Return Value
True if the ListOption is found in this ListOptionCollection, false otherwise.
Remarks
The listOption does not accept a nullNothingnullptra null reference (Nothing in Visual Basic) as a valid value.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | The given listOption is nullNothingnullptra null reference (Nothing in Visual Basic). |