MemberRelationship(Object, MemberDescriptor) 构造函数

定义

初始化 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 相关的成员。

例外

ownermembernull

适用于

另请参阅