MemberRelationshipService.GetRelationship(MemberRelationship) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得至指定來源關聯性的關聯性。
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。
備註
默認實作會使用弱式參考將關聯性儲存在字典中,因此關聯性數據表不會讓物件保持運作。