This topic has not yet been rated - Rate this topic

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: System.Int32
The zero-based index of the item in the collection, if found; otherwise, -1.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.