Determine whether an Bookmark is in the BookmarkCollection.

Namespace: TallComponents.PDF.Navigation
Assembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0

Syntax

C#
public bool Contains(
	Bookmark bookmark
)
Visual Basic
Public Function Contains ( _
	bookmark As Bookmark _
) As Boolean

Parameters

bookmark
Type: TallComponents.PDF.Navigation..::..Bookmark
The Bookmark to verify.

Return Value

True if the Bookmark is found in this BookmarkCollection, false otherwise.

Remarks

The bookmark does not accept a nullNothingnullptra null reference (Nothing in Visual Basic) as a valid value.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe given bookmark is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also