Export (0) Print
Expand All

ModelComponentCollection.IndexOf Method (IModelComponent)

Searches for the specified item and returns its zero-based index within the collection.

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

protected int IndexOf(
	IModelComponent item
)

Parameters

item
Type: Microsoft.AnalysisServices.IModelComponent
The item to locate.

Return Value

Type: Int32
The zero-based index of the item in the collection, if found; otherwise, -1.

Community Additions

ADD
Show:
© 2015 Microsoft