Share via


ModelComponentCollection.RemoveAt Method (Int32)

Removes the IModelComponent at the specified index from the ModelComponentCollection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub RemoveAt ( _
    index As Integer _
)
'Usage
Dim instance As ModelComponentCollection
Dim index As Integer

instance.RemoveAt(index)
public void RemoveAt(
    int index
)
public:
void RemoveAt(
    int index
)
member RemoveAt : 
        index:int -> unit 
public function RemoveAt(
    index : int
)

Parameters

  • index
    Type: System.Int32
    The zero-based index of the IModelComponent to remove.