Compartilhar via


ExternalRoleMemberCollection.IndexOf(ExternalRoleMember) Method

Definition

Searches for the specified ExternalRoleMember and returns its zero-based index within the collection.

public int IndexOf (Microsoft.AnalysisServices.ExternalRoleMember item);
member this.IndexOf : Microsoft.AnalysisServices.ExternalRoleMember -> int
Public Function IndexOf (item As ExternalRoleMember) As Integer

Parameters

Returns

The zero-based index of the ExternalRoleMember in the collection, if found; otherwise, -1.

Applies to