LayerKeyedCollection.Clear (Boolean) Method

Clears this collection.
Public Sub Clear( _ 
ByVal addDefaultLayer As Boolean
)
This language is not supported or no code example is available.
public void Clear( 
bool addDefaultLayer 
)
This language is not supported or no code example is available.

Parameters

addDefaultLayer
bool

When true the collection is initialized with the "Default" layer.

Remarks
 
When the collection is linked to a Environment, it clears also the Environment.Entities collection and the default layer is always added.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition