Determines whether a MasterPage is in this collection.
Namespace: TallComponents.WebAssembly: TallComponents.WebToPDF (in TallComponents.WebToPDF.dll) Version: 2.0.16.0
Syntax
| C# |
|---|
public bool Contains( MasterPage masterPage ) |
| Visual Basic |
|---|
Public Function Contains ( _ masterPage As MasterPage _ ) As Boolean |
Parameters
- masterPage
- Type: TallComponents.Web..::..MasterPage
Look for this MasterPage.
Return Value
True if and only if the MasterPage is found in this collection.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | The given masterPage is nullNothingnullptra null reference (Nothing in Visual Basic). |