Share via


GroupCollection.IndexOf(Group) Method

Definition

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

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

Parameters

item
Group

The Group to locate.

Returns

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

Applies to