TermStore.GetGroup Method
Gets a Group object based on the ID of the Group.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public Function GetGroup ( _
id As Guid _
) As Group
'Usage
Dim instance As TermStore
Dim id As Guid
Dim returnValue As Group
returnValue = instance.GetGroup(id)
public Group GetGroup(
Guid id
)
Parameters
id
Type: System.GuidThe ID of the Group to get
Return Value
Type: Microsoft.SharePoint.Taxonomy.Group
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. |