Share via


ExternalRoleMemberCollection.Insert(Int32, ExternalRoleMember) Method

Definition

Inserts the specified ExternalRoleMember to the collection at the specified index.

public void Insert (int index, Microsoft.AnalysisServices.ExternalRoleMember item);
member this.Insert : int * Microsoft.AnalysisServices.ExternalRoleMember -> unit
Public Sub Insert (index As Integer, item As ExternalRoleMember)

Parameters

index
Int32

The zero-based index at which the ExternalRoleMember is inserted.

item
ExternalRoleMember

The ExternalRoleMember to be inserted.

Exceptions

The specified index is not a valid value (less than zero or bigger then the total number of elements).

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

The specified item already esists in the collection.

Applies to