RoleMemberCollection.Insert(Int32, RoleMember) Method
Definition
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.
Inserts the specified RoleMember to the collection at the specified index.
public void Insert (int index, Microsoft.AnalysisServices.RoleMember item);
member this.Insert : int * Microsoft.AnalysisServices.RoleMember -> unit
Public Sub Insert (index As Integer, item As RoleMember)
Parameters
- index
- Int32
The zero-based index at which the RoleMember is inserted.
- item
- RoleMember
The RoleMember 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.