ResultPropertyValueCollection::IndexOf Method (Object^)

 

The IndexOf method retrieves the index of a specified property value in this collection.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public:
int IndexOf(
	Object^ value
)

Parameters

value
Type: System::Object^

The property value to find.

Return Value

Type: System::Int32

The zero-based index of the specified property value. If the object is not found, the return value is -1.

.NET Framework
Available since 1.1
Return to top
Show: