LayerKeyedCollection.Add (String, Color, String) Method

Adds one Layer at the end of this collection.
Public Overridable Function Add( _ 
ByVal layerName As String, _ 
ByVal color As Color, _ 
ByVal lineTypeName As String
) As Integer
This language is not supported or no code example is available.
public virtual int Add( 
string layerName
Color color
string lineTypeName 
)
This language is not supported or no code example is available.

Parameters

layerName
string

The layer name

color
Color

The layer color

lineTypeName
string

The line type name

Return Value

int

The layer index.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition