Export (0) Print
Expand All

ModelComponentCollection.Item Property

Gets the IModelComponent at the specified index.

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

protected IModelComponent this[
	int index
] { get; }

Parameters

index
Type: System.Int32
The zero-based index of the [Microsoft.DataWarehouse.IModelComponent] to get.

Property Value

Type: Microsoft.AnalysisServices.IModelComponent
The [Microsoft.DataWarehouse.IModelComponent] at the specified index.

ExceptionCondition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft