GroupCollection.TryGetGroup method
Finds the first group with a given name in a collection.
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
System.Boolean