TermStore.GetGroup method
Gets a Group object based on the ID of the Group.
Namespace: Microsoft.SharePoint.Client.Taxonomy
Assembly: Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)
Syntax
'Declaration
Public Function GetGroup ( _
id As Guid _
) As TermGroup
'Usage
Dim instance As TermStore
Dim id As Guid
Dim returnValue As TermGroup
returnValue = instance.GetGroup(id)
public TermGroup GetGroup(
Guid id
)
Parameters
id
Type: System.GuidThe ID of the Group to get
Return value
Type: Microsoft.SharePoint.Client.Taxonomy.TermGroup
The Group object that is associated with a specific ID or a null reference (Nothing in Visual Basic) if no such Group exists
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The id value cannot be a Guid.Empty value. |