次の方法で共有


WsusCollection.AddRange Method (Array)

 

Applies To: Windows Server Update Services

Adds the elements of the specified array to the end of this collection.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

protected void AddRange(
    Array value
)
protected:
void AddRange(
    Array^ value
)
member AddRange : 
        value:Array -> unit
Protected Sub AddRange (
    value As Array
)

Parameters

  • value
    Type: System.Array

    The IEnumerable containing the object to be added to the collection.

Exceptions

Exception

Condition

ArgumentNullException

value is null, or if any of the elements of value are null.

ArgumentException

value contains elements which are null or who's addition will cause a duplicate in the collection.

See Also

AddRange Overload
WsusCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top