MemberAssignment 類別

定義

代表物件之欄位或屬性的指派作業。Represents assignment operation for a field or property of an object.

public ref class MemberAssignment sealed : System::Linq::Expressions::MemberBinding
public sealed class MemberAssignment : System.Linq.Expressions.MemberBinding
type MemberAssignment = class
    inherit MemberBinding
Public NotInheritable Class MemberAssignment
Inherits MemberBinding
繼承
MemberAssignment

備註

使用 Bind factory 方法來建立 MemberAssignmentUse the Bind factory methods to create a MemberAssignment.

MemberAssignment具有等於的 BindingType 屬性 AssignmentA MemberAssignment has the BindingType property equal to Assignment.

屬性

BindingType

取得所表示之繫結的型別。Gets the type of binding that is represented.

(繼承來源 MemberBinding)
Expression

取得要指派到欄位或屬性的運算式。Gets the expression to assign to the field or property.

Member

取得要初始化的欄位或屬性。Gets the field or property to be initialized.

(繼承來源 MemberBinding)

方法

Equals(Object)

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

(繼承來源 Object)
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)
ToString()

傳回 MemberBinding 的文字表示。Returns a textual representation of the MemberBinding.

(繼承來源 MemberBinding)
Update(Expression)

建立類似這個運算式的新運算式,但使用提供的子系。Creates a new expression that is like this one, but using the supplied children. 如果所有子系都相同,則會傳回這個運算式。If all of the children are the same, it will return this expression.

適用於