Determine whether an ColorStop is in the ColorStopCollection.
Namespace: TallComponents.PDF.BrushesAssembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.1
Syntax
| C# |
|---|
public bool Contains( ColorStop colorStop ) |
| Visual Basic |
|---|
Public Function Contains ( _ colorStop As ColorStop _ ) As Boolean |
Parameters
- colorStop
- Type: TallComponents.PDF.Brushes..::..ColorStop
The ColorStop to verify.
Return Value
True if the ColorStop is found in this ColorStopCollection, false otherwise.
Remarks
The colorStop does not accept a nullNothingnullptra null reference (Nothing in Visual Basic) as a valid value.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | The given colorStop is nullNothingnullptra null reference (Nothing in Visual Basic). |