IndexOf-Methode
Gets the index of a specified Group.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function IndexOf ( _
item As Group _
) As Integer
'Usage
Dim instance As GroupCollection
Dim item As Group
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
Group item
)
public:
int IndexOf(
Group^ item
)
member IndexOf :
item:Group -> int
public function IndexOf(
item : Group
) : int
Parameter
- item
Typ: Microsoft.AnalysisServices. . :: . .Group
The Group to be returned.
Rückgabewert
Typ: System. . :: . .Int32
The zero-based index of the Group if the object is found; otherwise, -1.