MemberRelationshipService.SupportsRelationship 方法

定义

获取一个值,指示是否支持给定关系。

public:
 abstract bool SupportsRelationship(System::ComponentModel::Design::Serialization::MemberRelationship source, System::ComponentModel::Design::Serialization::MemberRelationship relationship);
public abstract bool SupportsRelationship (System.ComponentModel.Design.Serialization.MemberRelationship source, System.ComponentModel.Design.Serialization.MemberRelationship relationship);
abstract member SupportsRelationship : System.ComponentModel.Design.Serialization.MemberRelationship * System.ComponentModel.Design.Serialization.MemberRelationship -> bool
Public MustOverride Function SupportsRelationship (source As MemberRelationship, relationship As MemberRelationship) As Boolean

参数

source
MemberRelationship

源关系。

relationship
MemberRelationship

要设置到源中的关系。

返回

如果支持给定的两个对象之间的关系,则为 true;否则为 false

适用于