Export (0) Print
Expand All

MemberRelationshipService.GetRelationship Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft