ModelComponentCollection.RemoveAt Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.