MemberRelationshipService.GetRelationship(MemberRelationship) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a relationship to the given source relationship.
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
Parameters
- source
- MemberRelationship
The source relationship.
Returns
A relationship to source
, or Empty if no relationship exists.
Remarks
The default implementation stores relationships in a dictionary using weak references, so the relationship table does not keep objects alive.
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.