Partager via


UpdateCollection.AddRange Method (IUpdate )

 

Applies To: Windows Server Update Services

Adds an array of updates to the end of the collection.

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

Syntax

public void AddRange(
    IUpdate[] value
)
public:
void AddRange(
    array<IUpdate^>^ value
)
member AddRange : 
        value:IUpdate[] -> unit
Public Sub AddRange (
    value As IUpdate()
)

Parameters

Exceptions

Exception

Condition

ArgumentException

One or more elements of the array already exist in this collection.

ArgumentNullException

value or elements of the array cannot be null.

See Also

AddRange Overload
UpdateCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top