GroupCollection.TryGetGroup Method

Gets the first ocurrence of a group with the specified name. Returns true if the collection contains a group with the specified name. Otherwise, false is returned.

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

Syntax

'Declaration
Public Function TryGetGroup ( _
    groupName As String, _
    <OutAttribute> ByRef value As Group _
) As Boolean
'Usage
Dim instance As GroupCollection
Dim groupName As String
Dim value As Group
Dim returnValue As Boolean

returnValue = instance.TryGetGroup(groupName, _
    value)
public bool TryGetGroup(
    string groupName,
    out Group value
)

Parameters

Return Value

Type: System.Boolean

See Also

Reference

GroupCollection Class

GroupCollection Members

Microsoft.Lync.Model.Group Namespace