Removes the first occurrence of the specified layer from this instance.
Namespace: Spotfire.Dxp.Application.Visuals.MapsAssembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
Syntax
Parameters
- item
- Type: Spotfire.Dxp.Application.Visuals.Maps MapChartLayer
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 |
---|---|
System ArgumentNullException | Thrown if item is null. |
System ArgumentException | Thrown if item is not contained in this collection. |
Version Information
See Also