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