ResultPropertyValueCollection.IndexOf Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: