Share via


UpdateSummaryCollection.IndexOf Method (IUpdateSummary)

 

Applies To: Windows Server Update Services

Determines whether the collection contains the specified update summary installation information. If the collection contains the summary information, the method returns the zero-based index to the summary information in the collection.

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

Syntax

public int IndexOf(
    IUpdateSummary value
)
public:
int IndexOf(
    IUpdateSummary^ value
)
member IndexOf : 
        value:IUpdateSummary -> int
Public Function IndexOf (
    value As IUpdateSummary
) As Integer

Parameters

Return Value

Type: System.Int32

The zero-based index of the summary information in the collection if found; otherwise, -1.

See Also

IndexOf Overload
UpdateSummaryCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top