Click or drag to resize

LinkHelperGetOppositeLinkEnd Method

Given a LinkRole, returns the LinkRole representing the opposite end of the link.

Namespace:  AGI.Foundation.Access
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 21.2.409.0 (21.2.409.0)
Syntax
public static LinkRole GetOppositeLinkEnd(
	LinkRole role
)

Parameters

role
Type: AGI.Foundation.AccessLinkRole
The link role for which to obtain the opposite end.

Return Value

Type: LinkRole
The opposite end of the link.
Exceptions
ExceptionCondition
ArgumentException Thrown when role is not Transmitter or Receiver.
See Also