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