ExpressionBinding Class

Definition

支持表达式绑定实例的分析和保留。Supports the parsing and persisting of an expression-binding instance. 此类不能被继承。This class cannot be inherited.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class ExpressionBinding sealed
public sealed class ExpressionBinding
type ExpressionBinding = class
Public NotInheritable Class ExpressionBinding
Inheritance
ExpressionBinding

Constructors

ExpressionBinding(String, Type, String, String)

初始化 ExpressionBinding 类的新实例。Initializes a new instance of the ExpressionBinding class.

Properties

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.

Methods

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.

(Inherited from Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

Applies to