MemberRelationshipService.GetRelationship Method (MemberRelationship)

 

Gets a relationship to the given source relationship.

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

abstract GetRelationship : 
        source:MemberRelationship -> MemberRelationship
override GetRelationship : 
        source:MemberRelationship -> MemberRelationship

Parameters

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
Show: