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
value
Type: Microsoft.UpdateServices.Administration.IUpdateCategory[]Array of IUpdateCategory to add to the collection.
Exceptions
Exception
Condition
One or more elements of the array already exist in this collection.
value or elements of the array cannot be null.
See Also
AddRange Overload
UpdateCategoryCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top