[This is preliminary documentation and is subject to change.]
Determine whether an CssStyleSheet is in the CssStyleSheetCollection.
Namespace: TallComponents.WebAssembly: TallComponents.WebToPDF (in TallComponents.WebToPDF.dll) Version: 1.0.4.1
Syntax
| C# |
|---|
public bool Contains( CssStyleSheet styleSheet ) |
| Visual Basic |
|---|
Public Function Contains ( _ styleSheet As CssStyleSheet _ ) As Boolean |
Parameters
- styleSheet
- Type: TallComponents.Web..::..CssStyleSheet
The CssStyleSheet to verify.
Return Value
True if the CssStyleSheet is found in this CssStyleSheetCollection, false otherwise.
Remarks
The styleSheet does not accept a nullNothingnullptra null reference (Nothing in Visual Basic) as a valid value.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | The given styleSheet is nullNothingnullptra null reference (Nothing in Visual Basic). |