Partager via


UpdateInstallationInfoCollection.IndexOf Method (IUpdateInstallationInfo)

 

Applies To: Windows Server Update Services

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

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

Syntax

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

Parameters

Return Value

Type: System.Int32

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

See Also

IndexOf Overload
UpdateInstallationInfoCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top