EntityList.Add (Entity, Int32) 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.
Public Sub Add( _ 
ByVal entity As Entity, _ 
ByVal layerIndex As Integer
)
This language is not supported or no code example is available.
public void Add( 
Entity entity
int layerIndex 
)
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

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