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
- groupName
Type: System.String
- value
Type: Microsoft.Lync.Model.Group.Group
Return Value
Type: System.Boolean