ResultPropertyValueCollection.IndexOf (Object)
The IndexOf method retrieves the index of a specified property value in this collection.
public Int32 IndexOf(
Object value
);
Public Function IndexOf( _
ByVal value As Object _
) As Int32
Parameters
- value
The property value to find.
Return Values
The zero-based index of the specified property value. If the object is not found, the return value is -1.
Security
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code.
Requirements
Client | Requires Windows XP Home Edition, Windows XP Professional, Windows Me, or Windows 98. |
Server | Requires Windows Server 2003, Windows 2000, or Windows NT 4.0. |
Namespace | Defined in System.DirectoryServices. |
Assembly | Requires System.DirectoryServices (in System.DirectoryServices.dll). |
.NET Framework | Requires .NET Framework 1.0. |