SearchResultAttributeCollection 類別

定義

SearchResultAttributeCollection 類別是 DirectoryAttribute 物件的集合。The SearchResultAttributeCollection class is a collection of DirectoryAttribute objects.

public ref class SearchResultAttributeCollection : System::Collections::DictionaryBase
public class SearchResultAttributeCollection : System.Collections.DictionaryBase
type SearchResultAttributeCollection = class
    inherit DictionaryBase
Public Class SearchResultAttributeCollection
Inherits DictionaryBase
繼承
SearchResultAttributeCollection

屬性

AttributeNames

AttributeNames 屬性 (Property) 包含這個集合中的屬性 (Attribute) 名稱。The AttributeNames property contains names of attributes in this collection.

Count

取得 DictionaryBase 執行個體中包含的元素數目。Gets the number of elements contained in the DictionaryBase instance.

(繼承來源 DictionaryBase)
Dictionary

取得包含於 DictionaryBase 執行個體中的項目清單。Gets the list of elements contained in the DictionaryBase instance.

(繼承來源 DictionaryBase)
InnerHashtable

取得包含於 DictionaryBase 執行個體中的項目清單。Gets the list of elements contained in the DictionaryBase instance.

(繼承來源 DictionaryBase)
Item[String]

Item[String] 屬性包含 attributeName 指定的 DirectoryAttribute 物件。The Item[String] property contains the DirectoryAttribute object specified by attributeName.

Values

Values 屬性 (Property) 包含這個集合中的屬性 (Attribute) 值。The Values property contains values of attributes in this collection.

方法

Clear()

清除 DictionaryBase 執行個體的內容。Clears the contents of the DictionaryBase instance.

(繼承來源 DictionaryBase)
Contains(String)

Contains(String) 方法會判斷集合是否包含指定的 attributeNameThe Contains(String) method determines whether the collection contains the specified attributeName.

CopyTo(Array, Int32)

DictionaryBase 元素複製到指定索引的一維 ArrayCopies the DictionaryBase elements to a one-dimensional Array at the specified index.

(繼承來源 DictionaryBase)
CopyTo(DirectoryAttribute[], Int32)

CopyTo(DirectoryAttribute[], Int32) 方法複製整個集合至一維陣列,從目標陣列中所指定的索引開始。The CopyTo(DirectoryAttribute[], Int32) method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.

Equals(Object)

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

(繼承來源 Object)
GetEnumerator()

傳回能夠逐一查看 IDictionaryEnumerator 執行個體的 DictionaryBaseReturns an IDictionaryEnumerator that iterates through the DictionaryBase instance.

(繼承來源 DictionaryBase)
GetHashCode()

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

(繼承來源 Object)
GetType()

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

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
OnClear()

在清除 DictionaryBase 執行個體的內容前,執行額外的自訂處理序。Performs additional custom processes before clearing the contents of the DictionaryBase instance.

(繼承來源 DictionaryBase)
OnClearComplete()

在清除 DictionaryBase 執行個體的內容後,執行額外的自訂處理序。Performs additional custom processes after clearing the contents of the DictionaryBase instance.

(繼承來源 DictionaryBase)
OnGet(Object, Object)

取得 DictionaryBase 執行個體中具有指定索引鍵和值的元素。Gets the element with the specified key and value in the DictionaryBase instance.

(繼承來源 DictionaryBase)
OnInsert(Object, Object)

在將新的元素插入至 DictionaryBase 執行個體前,執行額外的自訂處理序。Performs additional custom processes before inserting a new element into the DictionaryBase instance.

(繼承來源 DictionaryBase)
OnInsertComplete(Object, Object)

在將新的元素插入至 DictionaryBase 執行個體後,執行額外的自訂處理序。Performs additional custom processes after inserting a new element into the DictionaryBase instance.

(繼承來源 DictionaryBase)
OnRemove(Object, Object)

在從 DictionaryBase 執行個體移除元素前,執行額外的自訂處理序。Performs additional custom processes before removing an element from the DictionaryBase instance.

(繼承來源 DictionaryBase)
OnRemoveComplete(Object, Object)

在從 DictionaryBase 執行個體移除元素後,執行額外的自訂處理序。Performs additional custom processes after removing an element from the DictionaryBase instance.

(繼承來源 DictionaryBase)
OnSet(Object, Object, Object)

DictionaryBase 執行個體中設定數值前,執行額外的自訂處理序。Performs additional custom processes before setting a value in the DictionaryBase instance.

(繼承來源 DictionaryBase)
OnSetComplete(Object, Object, Object)

DictionaryBase 執行個體中設定數值後,執行額外的自訂處理序。Performs additional custom processes after setting a value in the DictionaryBase instance.

(繼承來源 DictionaryBase)
OnValidate(Object, Object)

在使用指定的索引鍵及值驗證元素時,執行額外的自訂處理序。Performs additional custom processes when validating the element with the specified key and value.

(繼承來源 DictionaryBase)
ToString()

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

(繼承來源 Object)

明確介面實作

ICollection.IsSynchronized

取得值,指出對 DictionaryBase 物件的存取是否為同步的 (執行緒安全)。Gets a value indicating whether access to a DictionaryBase object is synchronized (thread safe).

(繼承來源 DictionaryBase)
ICollection.SyncRoot

取得可用來同步存取 DictionaryBase 物件的物件。Gets an object that can be used to synchronize access to a DictionaryBase object.

(繼承來源 DictionaryBase)
IDictionary.Add(Object, Object)

將有指定索引鍵和數值的項目加入 DictionaryBaseAdds an element with the specified key and value into the DictionaryBase.

(繼承來源 DictionaryBase)
IDictionary.Contains(Object)

判斷 DictionaryBase 是否包含特定索引鍵。Determines whether the DictionaryBase contains a specific key.

(繼承來源 DictionaryBase)
IDictionary.IsFixedSize

取得值,指出 DictionaryBase 物件是否具有固定的大小。Gets a value indicating whether a DictionaryBase object has a fixed size.

(繼承來源 DictionaryBase)
IDictionary.IsReadOnly

取得值,指出 DictionaryBase 物件是否為唯讀。Gets a value indicating whether a DictionaryBase object is read-only.

(繼承來源 DictionaryBase)
IDictionary.Item[Object]

取得或設定與指定之索引鍵相關聯的值。Gets or sets the value associated with the specified key.

(繼承來源 DictionaryBase)
IDictionary.Keys

取得 ICollection 物件,其中包含 DictionaryBase 物件中的索引鍵。Gets an ICollection object containing the keys in the DictionaryBase object.

(繼承來源 DictionaryBase)
IDictionary.Remove(Object)

將有指定索引鍵的項目從 DictionaryBase 移除。Removes the element with the specified key from the DictionaryBase.

(繼承來源 DictionaryBase)
IDictionary.Values

取得 ICollection 物件,其中含有 DictionaryBase 物件中的值。Gets an ICollection object containing the values in the DictionaryBase object.

(繼承來源 DictionaryBase)
IEnumerable.GetEnumerator()

傳回透過 IEnumerator 重複的 DictionaryBaseReturns an IEnumerator that iterates through the DictionaryBase.

(繼承來源 DictionaryBase)

擴充方法

Cast<TResult>(IEnumerable)

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

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

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

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryableConverts an IEnumerable to an IQueryable.

適用於