UpdateClassificationCollection.IndexOf(IUpdateClassification)
Determines if the collection contains the specified update classification. If the collection contains the classification, the method returns the zero-based index to the classification in the collection.
public Int32 IndexOf(
IUpdateClassification value
);
Public Function IndexOf( _
ByVal value As IUpdateClassification _
) As Int32
Parameters
- value
An IUpdateClassification of the classification to locate in the collection.
Return Values
Zero-based index of the classification in the collection if found; otherwise, -1.
Requirements
| Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
| Namespace | Defined in Microsoft.UpdateServices.Administration. |
| Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
| .NET Framework | Requires .NET Framework 1.1. |