SchemaNameCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Public Class SchemaNameCollection
Implements IList
- Inheritance
-
SchemaNameCollection
- Implements
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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. |
| GetEnumerator() |
Returns an enumerator that you can use to iterate through this collection. |
| 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. |
| 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. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| 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 |