ExpressionBinding 類別

定義

支援運算式繫結執行個體的剖析和持續。Supports the parsing and persisting of an expression-binding instance. 這個類別無法被繼承。This class cannot be inherited.

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

public ref class ExpressionBinding sealed
public sealed class ExpressionBinding
type ExpressionBinding = class
Public NotInheritable Class ExpressionBinding
繼承
ExpressionBinding

建構函式

ExpressionBinding(String, Type, String, String)

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

屬性

Expression

取得或設定宣告式語法中運算式的值。Gets or sets a value of the expression in its declarative syntax.

ExpressionPrefix

取得或設定宣告式語法中運算式之前置詞值。Gets or sets a value for the prefix of an expression in its declarative syntax.

Generated

取得值,指出運算式是否由剖析器隱含產生。Gets a value indicating whether the expression was implicitly generated by the parser.

ParsedExpressionData

取得物件,表示透過 ParseExpression(String, Type, ExpressionBuilderContext) 方法所建立之運算式的資料。Gets an object representing the data from an expression as created through the ParseExpression(String, Type, ExpressionBuilderContext) method.

PropertyName

取得值,表示套用運算式之物件的屬性名稱。Gets a value indicating the name of the property of the object to which the expression is applied.

PropertyType

取得值,表示套用運算式之物件的屬性 TypeGets a value indicating the Type of the property of the object to which the expression is applied.

方法

Equals(Object)

判斷指定的物件與目前 ExpressionBinding 物件是否為相同的執行個體。Determines whether the specified object is the same instance as the current ExpressionBinding object.

GetHashCode()

做為目前 ExpressionBinding 物件的雜湊函式,適用於雜湊演算法和資料結構,例如雜湊表。Serves as a hash function for the current ExpressionBinding object; suitable for hashing algorithms and data structures, such as a hash table.

GetType()

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

(繼承來源 Object)
MemberwiseClone()

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

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於