This documentation is archived and is not being maintained.

SchemaNameCollection Methods

The methods of the SchemaNameCollection class are listed here. For a complete list of SchemaNameCollection class members, see the SchemaNameCollection Members topic.

Public Methods

public methodAdd Appends a specified schema name to this collection.
public methodAddRange Overloaded. Appends a set of specified schema names to this collection.
public methodClear Removes all objects from this collection.
public methodContains Determines whether this collection contains a specified schema name.
public methodCopyTo Copies the schema names from this collection to an array, starting at a particular index of the array.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator Returns an enumerator that you can use to iterate through ths collection.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodIndexOf Determines the index of a specified schema name in this collection.
public methodInsert Inserts a schema name into this collection at a specified index.
public methodRemove Removes a specified schema name from this collection.
public methodRemoveAt Removes the schema name that is at a specified index from this collection.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SchemaNameCollection Class | System.DirectoryServices Namespace