Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Searches for the specified item and returns its zero-based index within the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Protected Function IndexOf ( _
item As IModelComponent _
) As Integer
'Usage
Dim item As IModelComponent
Dim returnValue As Integer
returnValue = Me.IndexOf(item)
protected int IndexOf(
IModelComponent item
)
protected:
int IndexOf(
IModelComponent^ item
)
member IndexOf :
item:IModelComponent -> int
protected function IndexOf(
item : IModelComponent
) : int
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.