ModelComponentCollection.Item Property (Int32)

 

Applies To: SQL Server 2016 Preview

Gets the IModelComponent at the specified index.

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

Syntax

protected IModelComponent this[
    int index
] { get; }
protected:
property IModelComponent^ default[
    int index
] {
    IModelComponent^ get(int index);
}
member Item : 
        index:int -> IModelComponent with get
Protected ReadOnly Property Item (
    index As Integer
) As IModelComponent

Parameters

Property Value

Type: Microsoft.AnalysisServices.IModelComponent

The IModelComponent at the specified index.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Remarks

This property provides the ability to access a specific element in the collection by using the following syntax: myCollection[index].

See Also

ModelComponentCollection Class
Microsoft.AnalysisServices Namespace

Return to top