EntityList.Add (Entity, Int32, Color) Method

NOTE: This member is now obsolete. Use the method that accepts the layer name instead.

Adds one Entity at the end of this collection using the specified layer and color.
Public Sub Add( _ 
ByVal entity As Entity, _ 
ByVal layerIndex As Integer, _ 
ByVal color As Color
)
This language is not supported or no code example is available.
public void Add( 
Entity entity
int layerIndex
Color color 
)
This language is not supported or no code example is available.

Parameters

entity
Entity

The entity to be added.

layerIndex
int

The destination layer index

color
Color

The entity color

Remarks
 
This method can be used only if the collection belong to a Environment.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition