SchemaNameCollection SchemaNameCollection SchemaNameCollection SchemaNameCollection Class

定義

包含 SchemaFilter 物件之 DirectoryEntries 屬性可以使用的結構描述名稱清單。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 IList
    interface ICollection
    interface IEnumerable
Public Class SchemaNameCollection
Implements IList
繼承
SchemaNameCollectionSchemaNameCollectionSchemaNameCollectionSchemaNameCollection
實作

屬性

Count Count Count Count

Count 屬性會取得這個集合中的物件數目。The Count property gets the number of objects in this collection.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

取得或設定在指定之索引處的物件。Gets or sets the object that exists at a specified index.

方法

Add(String) Add(String) Add(String) Add(String)

附加指定的結構描述名稱至這個集合。Appends a specified schema name to this collection.

AddRange(SchemaNameCollection) AddRange(SchemaNameCollection) AddRange(SchemaNameCollection) AddRange(SchemaNameCollection)

附加一組指定的結構描述名稱至這個集合。Appends a set of specified schema names to this collection.

AddRange(String[]) AddRange(String[]) AddRange(String[]) AddRange(String[])

附加一組指定的結構描述名稱至這個集合。Appends a set of specified schema names to this collection.

Clear() Clear() Clear() Clear()

從這個集合中移除所有物件。Removes all objects from this collection.

Contains(String) Contains(String) Contains(String) Contains(String)

決定這個集合是否包含指定的結構描述名稱。Determines whether this collection contains a specified schema name.

CopyTo(String[], Int32) CopyTo(String[], Int32) CopyTo(String[], Int32) CopyTo(String[], Int32)

從陣列的特定索引開始,將這個集合的結構描述名稱複製到陣列中。Copies the schema names from this collection to an array, starting at a particular index of the array.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

傳回您可以用來逐一查看這個集合的列舉程式。Returns an enumerator that you can use to iterate through this collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
IndexOf(String) IndexOf(String) IndexOf(String) IndexOf(String)

判斷這個集合中指定之結構描述名稱的索引。Determines the index of a specified schema name in this collection.

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

將結構描述名稱插入至這個集合的指定索引處。Inserts a schema name into this collection at a specified index.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(String) Remove(String) Remove(String) Remove(String)

從這個集合移除指定的結構描述名稱。Removes a specified schema name from this collection.

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

從這個集合的指定索引處移除結構描述名稱。Removes the schema name that is at a specified index from this collection.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

明確介面實作

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

從特定的 ICollection 索引開始,將 Array 的項目複製至 ArrayCopies the elements of the ICollection to an Array, starting at a particular Array index.

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

取得值,這個值表示對 ICollection 的存取是否同步 (安全執行緒)。Gets a value indicating whether access to the ICollection is synchronized (thread safe).

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

取得可用以同步存取 ICollection 的物件。Gets an object that can be used to synchronize access to the ICollection.

IList.Add(Object) IList.Add(Object) IList.Add(Object) IList.Add(Object)

將項目加入至清單。Adds an item to the list.

IList.Contains(Object) IList.Contains(Object) IList.Contains(Object) IList.Contains(Object)

判斷清單是否包含指定值。Determines whether the list contains a specified value.

IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object)

判斷清單中指定之項目的索引。Determines the index of a specified item in the list.

IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object)

將項目插入至清單的指定索引處。Inserts an item to the list at the specified index.

IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize

取得值,指出 IList 是否有固定的大小。Gets a value indicating whether the IList has a fixed size.

IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly

取得值,指出 IList 是否唯讀。Gets a value indicating whether the IList is read-only.

IList.Item[Int32] IList.Item[Int32] IList.Item[Int32] IList.Item[Int32]

在指定的索引位置上取得或設定項目。Gets or sets the element at the specified index.

IList.Remove(Object) IList.Remove(Object) IList.Remove(Object) IList.Remove(Object)

從清單移除特定 value 的第一個項目。Removes the first occurrence of a specific value from the list.

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

IEnumerable 的項目轉換成指定的型別。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

根據指定的型別來篩選 IEnumerable 的項目。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

啟用查詢的平行化作業。Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

將轉換IEnumerableIQueryableConverts an IEnumerable to an IQueryable.

適用於

另請參閱