ExpressionBindingCollection 類別

定義

表示 ExpressionBinding 物件的集合。Represents a collection of ExpressionBinding objects. 這個類別無法被繼承。This class cannot be inherited.

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public ref class ExpressionBindingCollection sealed : System::Collections::ICollection
public sealed class ExpressionBindingCollection : System.Collections.ICollection
type ExpressionBindingCollection = class
    interface ICollection
    interface IEnumerable
Public NotInheritable Class ExpressionBindingCollection
Implements ICollection
繼承
ExpressionBindingCollection
實作

建構函式

ExpressionBindingCollection()

初始化 ExpressionBindingCollection 類別的新執行個體。Initializes a new instance of the ExpressionBindingCollection class.

屬性

Count

取得 ExpressionBinding 集合中 ExpressionBindingCollection 物件的數目。Gets the number of ExpressionBinding objects in the ExpressionBindingCollection collection.

IsReadOnly

取得值,指出是否可以修改集合中的 ExpressionBinding 物件。Gets a value indicating whether the ExpressionBinding objects in the collection can be modified.

IsSynchronized

取得值,表示是否同步化存取集合 (執行緒安全)。Gets a value indicating whether access to the collection is synchronized (thread safe).

Item[String]

以指定的 ExpressionBinding 值,從集合中取得 PropertyName 物件。Gets an ExpressionBinding object from the collection with the specified PropertyName value.

RemovedBindings

取得字串集合,這些字串表示已移除之繫結的名稱。Gets a collection of strings representing the names of bindings that have been removed.

SyncRoot

取得物件,這個物件可以用來對集合進行同步存取。Gets an object that can be used to synchronize access to the collection.

方法

Add(ExpressionBinding)

將指定的 ExpressionBinding 物件附加到集合的結尾。Appends the specified ExpressionBinding object to the end of the collection.

Clear()

從集合中移除所有的 ExpressionBinding 物件。Removes all the ExpressionBinding objects from the collection.

Contains(String)

判斷 ExpressionBindingCollection 集合是否含有特定 ExpressionBinding 物件。Determines whether the ExpressionBindingCollection collection contains a specific ExpressionBinding object.

CopyTo(Array, Int32)

複製 ExpressionBinding 集合的所有 ExpressionBindingCollection 物件至一維陣列,從目標陣列中指定的索引開始。Copies all the ExpressionBinding objects from the ExpressionBindingCollection collection to a one-dimensional array, starting at the specified index in the target array.

CopyTo(ExpressionBinding[], Int32)

複製 ExpressionBinding 集合的所有 ExpressionBindingCollection 物件至一維 ExpressionBinding 物件陣列,從目標陣列中指定的索引開始。Copies all the ExpressionBinding objects from the ExpressionBindingCollection collection to a one-dimensional array of ExpressionBinding objects, starting at the specified index in the target array.

Equals(Object)

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

(繼承來源 Object)
GetEnumerator()

傳回 IEnumerator 實作的物件,該物件可用於逐一查看集合中的 ExpressionBinding 物件。Returns an IEnumerator-implemented object that can be used to iterate through the ExpressionBinding objects in the collection.

GetHashCode()

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

(繼承來源 Object)
GetType()

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

(繼承來源 Object)
MemberwiseClone()

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

(繼承來源 Object)
Remove(ExpressionBinding)

從集合中移除指定的 ExpressionBinding 物件。Removes the specified ExpressionBinding object from the collection.

Remove(String)

從集合中移除指定的 ExpressionBinding 物件。Removes the specified ExpressionBinding object from the collection.

Remove(String, Boolean)

從集合中移除指定的 ExpressionBinding 物件。Removes the specified ExpressionBinding object from the collection.

ToString()

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

(繼承來源 Object)

事件

Changed

ExpressionBinding 物件集合變更時發生。Occurs when the collection of ExpressionBinding objects is changed.

擴充方法

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.

適用於