GetRelationship Method
Collapse the table of content
Expand the table of content

MemberRelationshipService::GetRelationship Method (MemberRelationship)


Gets a relationship to the given source relationship.

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System (in System.dll)

virtual MemberRelationship GetRelationship(
	MemberRelationship source


Type: System.ComponentModel.Design.Serialization::MemberRelationship

The source relationship.

Return Value

Type: System.ComponentModel.Design.Serialization::MemberRelationship

A relationship to source, or Empty if no relationship exists.

The default implementation stores relationships in a dictionary using weak references, so the relationship table does not keep objects alive.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft