Removes the first occurrence of the specified layer from this instance.
Namespace: Spotfire.Dxp.Application.Visuals.Maps
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
Syntax
C#
public bool Remove( WmsSublayer item )
Parameters
- item
- Type: Spotfire.Dxp.Application.Visuals.MapsWmsSublayer
The item to remove.
Return Value
Type: Booleantrue if item was removed; otherwise, false. This method also returns false if item is not found.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if item is null. |
ArgumentException | Thrown if item is not contained in this collection. |
Version Information
See Also