Compartilhar via


Método GroupCollection.IndexOf

Gets the index of a specified Group.

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

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As Group _
) As Integer
'Uso
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

Parâmetros

Valor de retorno

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

Consulte também

Referência

GroupCollection Classe

Namespace Microsoft.AnalysisServices