RoleMemberCollection.AddRange(ICollection) Method

Definition

Adds the set of specified elements to the end of the collection.

C#
public void AddRange (System.Collections.ICollection items);

Parameters

items
ICollection

The ICollection whose elements should be added to the collection.

Exceptions

  • The specified collection is a null reference (Nothing in Visual Basic).
  • The specified collection has one or more items that are null reference (Nothing in Visual Basic).
  • The specified collection has items that are duplicate.
  • The specified collection has one or more items that already esist in the collection.

Applies to

Product Versions
Analysis Services SDK for .NET latest