UpdateCategoryCollection.AddRange Method (IUpdateCategory )

 

Applies To: Windows Server Update Services

Adds an array of product categories to the end of the collection.

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

Syntax

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

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
UpdateCategoryCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top