ContactCollection.TryGetContact method

Tries to find the first contact with the given Uri.

Namespace:  Microsoft.Lync.Model.Group
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Function TryGetContact ( _
    uri As String, _
    <OutAttribute> ByRef value As Contact _
) As Boolean
'Usage
Dim instance As ContactCollection
Dim uri As String
Dim value As Contact
Dim returnValue As Boolean

returnValue = instance.TryGetContact(uri, _
    value)
public bool TryGetContact(
    string uri,
    out Contact value
)

Parameters

Return value

Type: System.Boolean
System.Boolean

See also

Reference

ContactCollection class

ContactCollection members

Microsoft.Lync.Model.Group namespace