ExternalRoleMemberCollection.IndexOf(ExternalRoleMember) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- item
- ExternalRoleMember
The ExternalRoleMember to locate.
The zero-based index of the ExternalRoleMember in the collection, if found; otherwise, -1.