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
value
Type: Microsoft.UpdateServices.Administration.IUpdateInstallationInfoAn IUpdateInstallationInfo of the installation information to locate in the collection.
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