Determine whether an EmbeddedFile is in the EmbeddedFileCollection.

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

Syntax

C#
public bool Contains(
	EmbeddedFile embeddedFile
)
Visual Basic
Public Function Contains ( _
	embeddedFile As EmbeddedFile _
) As Boolean

Parameters

embeddedFile
Type: TallComponents.PDF..::..EmbeddedFile
The EmbeddedFile to verify.

Return Value

True if the EmbeddedFile is found in this EmbeddedFileCollection, false otherwise.

Remarks

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

Exceptions

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

See Also