Click or drag to resize

ILinkUtilsFindLinkPeer Method

Finds the other peer of the link.

Namespace:  KASAPIv2
Assembly:  KAS-API-v2 (in KAS-API-v2.dll) Version: KAS API v2
Syntax
C#
ILinkPeer FindLinkPeer(
	ILinkPeer srcPeer
)
Request Example View Source

Parameters

srcPeer
Type: KASAPIv2ILinkPeer
The peer to find a target for.

Return Value

Type: ILinkPeer
The peer or null if no valid target was found.
Remarks
The links are always 1-to-1, i.e. one source peer can be linked to exactly one target peer. It's discouraged to implement this logic in the own code since the linking approach may change in the future versions.
See Also