MemberRelationshipService.SupportsRelationship Method

Definition

Gets a value indicating whether the given relationship is supported.

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

Parameters

source
MemberRelationship

The source relationship.

relationship
MemberRelationship

The relationship to set into the source.

Returns

true if a relationship between the given two objects is supported; otherwise, false.

Applies to