MemberMemberBinding 類別

定義

代表初始化新建立物件之成員的成員。Represents initializing members of a member of a newly created object.

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

備註

使用 MemberBind factory 方法來建立 MemberMemberBindingUse the MemberBind factory methods to create a MemberMemberBinding.

物件的屬性值 BindingType MemberMemberBindingMemberBindingThe value of the BindingType property of a MemberMemberBinding object is MemberBinding.

屬性

Bindings

取得繫結,這個繫結說明如何初始化成員的成員。Gets the bindings that describe how to initialize the members of a member.

BindingType

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

(繼承來源 MemberBinding)
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(IEnumerable<MemberBinding>)

建立類似這個運算式的新運算式,但使用提供的子系。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.

適用於