Share via


GroupCollection.Add(Group) Method

Definition

Adds the specified Group to the end of the collection.

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

Parameters

item
Group

The Group to be added.

Returns

The zero-based index at which the Group has been added to the collection.

Exceptions

The specified item is a null reference (Nothing in Visual Basic).

The specified item already esists in the collection.

Applies to