Export (0) Print
Expand All

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)

protected IModelComponent this[
	int index
] { get; }

Parameters

index
Type: System.Int32

The zero-based index of the IModelComponent to get.

Property Value

Type: Microsoft.AnalysisServices.IModelComponent

The IModelComponent at the specified index.

Exception Condition
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].

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft