LayerKeyedCollection.Clear (Layer) Method

Clears this collection and adds a default layer.
Public Sub Clear( _ 
ByVal defaultLayer As Layer
)
This language is not supported or no code example is available.
public void Clear( 
Layer defaultLayer 
)
This language is not supported or no code example is available.

Parameters

defaultLayer
Layer

The default layer added after the clear. If null the layer called "Default" is created and added.

Remarks
 
Clears also the Environment.Entities collection.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition