Partager via


Méthode AddRange

Adds the elements of a ICollection to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Sub AddRange ( _
    items As ICollection _
)
'Utilisation
Dim instance As ValidationErrorCollection
Dim items As ICollection

instance.AddRange(items)
public void AddRange(
    ICollection items
)
public:
void AddRange(
    ICollection^ items
)
member AddRange : 
        items:ICollection -> unit 
public function AddRange(
    items : ICollection
)

Paramètres

Exceptions

Exception Condition
ArgumentNullException

c is a null reference (Nothing in Visual Basic).