UpdateClassificationCollection.IndexOf Method (IUpdateClassification)
Applies To: Windows Server Update Services
Determines if the collection contains a specified update classification. If the collection contains the classification, the method returns the zero-based index to the classification in the collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public int IndexOf(
IUpdateClassification value
)
public:
int IndexOf(
IUpdateClassification^ value
)
member IndexOf :
value:IUpdateClassification -> int
Public Function IndexOf (
value As IUpdateClassification
) As Integer
Parameters
value
Type: Microsoft.UpdateServices.Administration.IUpdateClassificationAn IUpdateClassification of the classification to locate in the collection.
Return Value
Type: System.Int32
Zero-based index of the classification in the collection if found; otherwise, -1.
See Also
IndexOf Overload
UpdateClassificationCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top