MemberRelationship(Object, MemberDescriptor) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 MemberRelationship 類別的新執行個體。
public:
MemberRelationship(System::Object ^ owner, System::ComponentModel::MemberDescriptor ^ member);
public MemberRelationship (object owner, System.ComponentModel.MemberDescriptor member);
new System.ComponentModel.Design.Serialization.MemberRelationship : obj * System.ComponentModel.MemberDescriptor -> System.ComponentModel.Design.Serialization.MemberRelationship
Public Sub New (owner As Object, member As MemberDescriptor)
參數
- owner
- Object
擁有 member
的物件。
- member
- MemberDescriptor
要關聯至 owner
的成員。
例外狀況
owner
或 member
為 null
。