Condividi tramite


MemberRelationshipService.GetRelationship(MemberRelationship) Metodo

Definizione

Ottiene una relazione con la relazione di origine data.

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

Parametri

source
MemberRelationship

Relazione di origine.

Restituisce

Relazione con source o Empty se non è presente alcuna relazione.

Commenti

L'implementazione predefinita archivia le relazioni in un dizionario usando riferimenti deboli, quindi la tabella delle relazioni non mantiene attivi gli oggetti.

Si applica a