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: 25.11.10401.3615 (25.11.10401.3615)
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