RoleMemberCollection.IndexOf Método
Searches for the specified RoleMember and returns its zero-based index within the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function IndexOf ( _
item As RoleMember _
) As Integer
'Uso
Dim instance As RoleMemberCollection
Dim item As RoleMember
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
RoleMember item
)
public:
int IndexOf(
RoleMember^ item
)
member IndexOf :
item:RoleMember -> int
public function IndexOf(
item : RoleMember
) : int
Parámetros
- item
Tipo: Microsoft.AnalysisServices.RoleMember
The RoleMember to locate.
Valor devuelto
Tipo: System.Int32
The zero-based index of the RoleMember in the collection, if found; otherwise, -1.