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)

public Group GetGroup(
	Guid id
)

Parameters

id
Type: System.Guid

The 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

ExceptionCondition
ArgumentNullException

The id value cannot be a Guid.Empty value.

Show: