PDFKit.NET 2.0 Class Library (.NET 2.0)

AnnotationCollection.Contains Method 

Determine whether an Annotation is in the AnnotationCollection.

public bool Contains(
   Annotation annotation
);

Parameters

annotation
The Annotation to verify.

Return Value

True if the Annotation is found in this AnnotationCollection, false otherwise.

Remarks

The annotation does not accept a a null reference as a valid value.

Exceptions

Exception Type Condition
ArgumentNullException The given annotation is a null reference.

See Also

AnnotationCollection Class | TallComponents.PDF.Annotations Namespace