Click or drag to resize

CommunicationLinkCollectionFindFirst Method (IServiceProvider, LinkRole)

Finds the first link in the collection that contains the provided link end in the specified role.

Namespace:  AGI.Foundation.Communications
Assembly:  AGI.Foundation.Communications (in AGI.Foundation.Communications.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public ExtensibleObject FindFirst(
	IServiceProvider linkEnd,
	LinkRole role
)

Parameters

linkEnd
Type: SystemIServiceProvider
The receiver or transmitter to search for.
role
Type: AGI.Foundation.AccessLinkRole
The role specifying whether it's a receiver or transmitter.

Return Value

Type: ExtensibleObject
The first link in the collection that contains the link end in the specified role.
See Also