WpfLayerCollectionContains Method |
Determines whether an element is in the collection.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic bool Contains(
WpfLayerAnnotation item
)
Public Function Contains (
item As WpfLayerAnnotation
) As Boolean
Parameters
- item
- Type: Atalasoft.Annotate.WpfWpfLayerAnnotation
The layer to search for.
Return Value
Type:
BooleanTrue if the layer is within the collection.
Implements
ICollectionTContains(T)
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown if the item argument is null (Nothing in VB). |
See Also