This documentation is archived and is not being maintained.

MemberRelationshipService.GetRelationship Method

Gets a relationship to the given source relationship.

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

protected virtual MemberRelationship GetRelationship (
	MemberRelationship source
protected MemberRelationship GetRelationship (
	MemberRelationship source
protected function GetRelationship (
	source : MemberRelationship
) : MemberRelationship
Not applicable.



The source relationship.

Return Value

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0