UpdateClassificationCollection.Insert Method (Int32, IUpdateClassification)
Applies To: Windows Server Update Services
Inserts an update classification into the collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public void Insert(
int index,
IUpdateClassification value
)
public:
void Insert(
int index,
IUpdateClassification^ value
)
member Insert :
index:int *
value:IUpdateClassification -> unit
Public Sub Insert (
index As Integer,
value As IUpdateClassification
)
Parameters
index
Type: System.Int32Zero-based index at which to insert the classification into the collection.
value
Type: Microsoft.UpdateServices.Administration.IUpdateClassificationAn IUpdateClassification of the classification to insert into the collection.
Exceptions
Exception
Condition
The classification already exists in this collection.
value cannot be null.
index cannot be less than zero or greater than UpdateClassificationCollection.Count.
See Also
Insert Overload
UpdateClassificationCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top