Share via


UpdateSummaryCollection.Insert Method (Int32, IUpdateSummary)

 

Applies To: Windows Server Update Services

Inserts the summary installation information for an update into the collection.

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

Syntax

public void Insert(
    int index,
    IUpdateSummary value
)
public:
void Insert(
    int index,
    IUpdateSummary^ value
)
member Insert : 
        index:int *
        value:IUpdateSummary -> unit
Public Sub Insert (
    index As Integer,
    value As IUpdateSummary
)

Parameters

  • index
    Type: System.Int32

    Zero-based index at which to insert the summary information into the collection.

Exceptions

Exception

Condition

ArgumentException

The summary information already exists in this collection.

ArgumentNullException

value cannot be null.

ArgumentOutOfRangeException

index cannot be less than zero or greater than UpdateSummaryCollection.Count.

See Also

Insert Overload
UpdateSummaryCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top