WmsSublayerCollectionAddNew Method

TIBCO Spotfire 11.4 API Reference
Adds a new sublayer to this collection.

Namespace:  Spotfire.Dxp.Application.Visuals.Maps
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
Syntax

C#
public WmsSublayer AddNew(
	string name,
	string styleName
)

Parameters

name
Type: SystemString
The sublayer name.
styleName
Type: SystemString
The sublayer style name.

Return Value

Type: WmsSublayer
The newly created sublayer.
Exceptions

ExceptionCondition
ArgumentNullException Thrown if name is null.
ArgumentNullException Thrown if styleName is null.
Version Information

Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference