Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the first ocurrence of a contact with the specified Uri. Returns true if the collection contains a contact with the specified Uri. Otherwise, false is returned.
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
- uri
Type: System.String
- value
Type: Microsoft.Lync.Model.Contact
Return Value
Type: System.Boolean