共用方式為


MemberRelationshipService.GetRelationship(MemberRelationship) 方法

定義

取得至指定來源關聯性的關聯性。

protected:
 virtual System::ComponentModel::Design::Serialization::MemberRelationship GetRelationship(System::ComponentModel::Design::Serialization::MemberRelationship source);
protected virtual System.ComponentModel.Design.Serialization.MemberRelationship GetRelationship (System.ComponentModel.Design.Serialization.MemberRelationship source);
abstract member GetRelationship : System.ComponentModel.Design.Serialization.MemberRelationship -> System.ComponentModel.Design.Serialization.MemberRelationship
override this.GetRelationship : System.ComponentModel.Design.Serialization.MemberRelationship -> System.ComponentModel.Design.Serialization.MemberRelationship
Protected Overridable Function GetRelationship (source As MemberRelationship) As MemberRelationship

參數

source
MemberRelationship

來源關聯性。

傳回

source 的關聯性,如果不存在關聯性,則為 Empty

備註

默認實作會使用弱式參考將關聯性儲存在字典中,因此關聯性數據表不會讓物件保持運作。

適用於