Udostępnij za pośrednictwem


ModelComponentCollection.RemoveAt Method

Definition

Overloads

RemoveAt(Int32)

Removes the IModelComponent at the specified index from the ModelComponentCollection.

RemoveAt(Int32, Boolean)

emoves the IModelComponent at the specified index from the ModelComponentCollection.

RemoveAt(Int32)

Removes the IModelComponent at the specified index from the ModelComponentCollection.

public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

Parameters

index
Int32

The zero-based index of the IModelComponent to remove.

Applies to

RemoveAt(Int32, Boolean)

emoves the IModelComponent at the specified index from the ModelComponentCollection.

public void RemoveAt (int index, bool cleanUp);
member this.RemoveAt : int * bool -> unit
Public Sub RemoveAt (index As Integer, cleanUp As Boolean)

Parameters

index
Int32

The zero-based index of the IModelComponent to remove.

cleanUp
Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Applies to