Determine whether an Fragment is in the FragmentCollection.

Namespace: TallComponents.PDF.Layout.Paragraphs
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0

Syntax

C#
public bool Contains(
	Fragment fragment
)
Visual Basic
Public Function Contains ( _
	fragment As Fragment _
) As Boolean

Parameters

fragment
Type: TallComponents.PDF.Layout.Paragraphs..::..Fragment
The Fragment to verify.

Return Value

True if the Fragment is found in this FragmentCollection, false otherwise.

Remarks

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

Exceptions

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

See Also