IndexOf Method

PropertyValueCollection.IndexOf Method (Object)

 

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:
© 2016 Microsoft