Freigeben über


MeasureGroupAttributeCollection.IndexOf-Methode (MeasureGroupAttribute)

Gets the index of a specified MeasureGroupAttribute.

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

Syntax

'Declaration
Public Function IndexOf ( _
    item As MeasureGroupAttribute _
) As Integer
'Usage
Dim instance As MeasureGroupAttributeCollection 
Dim item As MeasureGroupAttribute 
Dim returnValue As Integer 

returnValue = instance.IndexOf(item)
public int IndexOf(
    MeasureGroupAttribute item
)
public:
int IndexOf(
    MeasureGroupAttribute^ item
)
member IndexOf : 
        item:MeasureGroupAttribute -> int
public function IndexOf(
    item : MeasureGroupAttribute
) : int

Parameter

Rückgabewert

Typ: System.Int32
The zero-based index of the MeasureGroupAttribute if the object is found; otherwise, -1.

Siehe auch

Verweis

MeasureGroupAttributeCollection Klasse

IndexOf-Überladung

Microsoft.AnalysisServices-Namespace