SchemaNameCollection Class

Definition

Contains a list of the schema names that the SchemaFilter property of a DirectoryEntries object can use.

public ref class SchemaNameCollection : System::Collections::IList
public class SchemaNameCollection : System.Collections.IList
type SchemaNameCollection = class
    interface ICollection
    interface IEnumerable
    interface IList
type SchemaNameCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public Class SchemaNameCollection
Implements IList
Inheritance
SchemaNameCollection
Implements

Properties

Count

The Count property gets the number of objects in this collection.

Item[Int32]

Gets or sets the object that exists at a specified index.

Methods

Add(String)

Appends a specified schema name to this collection.

AddRange(SchemaNameCollection)

Appends a set of specified schema names to this collection.

AddRange(String[])

Appends a set of specified schema names to this collection.

Clear()

Removes all objects from this collection.

Contains(String)

Determines whether this collection contains a specified schema name.

CopyTo(String[], Int32)

Copies the schema names from this collection to an array, starting at a particular index of the array.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

Returns an enumerator that you can use to iterate through this collection.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(String)

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

Insert(Int32, String)

Inserts a schema name into this collection at a specified index.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(String)

Removes a specified schema name from this collection.

RemoveAt(Int32)

Removes the schema name that is at a specified index from this collection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

ICollection.IsSynchronized

Gets a value indicating whether access to the ICollection is synchronized (thread safe).

ICollection.SyncRoot

Gets an object that can be used to synchronize access to the ICollection.

IList.Add(Object)

Adds an item to the list.

IList.Contains(Object)

Determines whether the list contains a specified value.

IList.IndexOf(Object)

Determines the index of a specified item in the list.

IList.Insert(Int32, Object)

Inserts an item to the list at the specified index.

IList.IsFixedSize

Gets a value indicating whether the IList has a fixed size.

IList.IsReadOnly

Gets a value indicating whether the IList is read-only.

IList.Item[Int32]

Gets or sets the element at the specified index.

IList.Remove(Object)

Removes the first occurrence of a specific value from the list.

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also