Determine whether an EmbeddedFile is in the EmbeddedFileCollection.
Namespace: TallComponents.PDF.RasterizerAssembly: TallComponents.PDF.Rasterizer (in TallComponents.PDF.Rasterizer.dll) Version: 3.0.76.0
Syntax
| C# |
|---|
public bool Contains( EmbeddedFile embeddedFile ) |
| Visual Basic |
|---|
Public Function Contains ( _ embeddedFile As EmbeddedFile _ ) As Boolean |
Parameters
- embeddedFile
- Type: TallComponents.PDF.Rasterizer..::..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
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | The given embeddedFile is nullNothingnullptra null reference (Nothing in Visual Basic). |