UpdateEventCollection.IndexOf Method (IUpdateEvent)


Applies To: Windows Server Update Services

Determines if the collection contains the specified update event. If the collection contains the event, the method returns the zero-based index to the event in the collection.

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


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


Return Value

Type: System.Int32

Zero-based index of the event in the collection if found; otherwise, -1.

See Also

IndexOf Overload
UpdateEventCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top