MeasureGroupDimensionCollection.IndexOf Method (MeasureGroupDimension)
Gets the index of a specified MeasureGroupDimension.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function IndexOf ( _
item As MeasureGroupDimension _
) As Integer
'Usage
Dim instance As MeasureGroupDimensionCollection
Dim item As MeasureGroupDimension
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
MeasureGroupDimension item
)
public:
int IndexOf(
MeasureGroupDimension^ item
)
member IndexOf :
item:MeasureGroupDimension -> int
public function IndexOf(
item : MeasureGroupDimension
) : int
Parameters
- item
Type: Microsoft.AnalysisServices.MeasureGroupDimension
The MeasureGroupDimension to return.
Return Value
Type: System.Int32
The zero-based index of the MeasureGroupDimension if the object is found; otherwise, -1.