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: 25.1.421.0 (25.1.421.0)
Syntaxpublic ExtensibleObject FindFirst(
	IServiceProvider linkEnd,
	LinkRole role
)
Public Function FindFirst ( 
	linkEnd As IServiceProvider,
	role As LinkRole
) As ExtensibleObject
public:
ExtensibleObject^ FindFirst(
	IServiceProvider^ linkEnd, 
	LinkRole role
)
member FindFirst : 
        linkEnd : IServiceProvider * 
        role : LinkRole -> ExtensibleObject 
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: 
ExtensibleObjectThe first link in the collection that contains the link end in the specified role.
See Also