SchemaNameCollection.IndexOf Method (String)


Determines the index of a specified schema name in this collection.

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

public int IndexOf(
	string value


Type: System.String

The schema name to search for.

Return Value

Type: System.Int32

The zero-based index of the specified schema name, or -1 if the schema name was not found in the collection.

.NET Framework
Available since 1.1
Return to top