Compartilhar via


Group Class

Represents the top-level container in a TermStore object.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Taxonomy.TaxonomyItem
    Microsoft.SharePoint.Taxonomy.Group

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class Group _
    Inherits TaxonomyItem
'Usage
Dim instance As Group
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class Group : TaxonomyItem

Remarks

The Group object contains one or more child TermSet instances, and these can be accessed through the TermSets property. The Group class also provides methods for creating new child TermSet objects.

Permissions for editing child Term and TermSet instances is specified on the group. The Group class provides methods for getting and setting permissions on the group, and for checking permissions.

The Group class also provides properties to get and set values of the Group object such as name and description, and enables the deletion of groups.

Additionally the Group class provides methods for checking changes on the Group object.

The Group class derives from the TaxonomyItem base class which provides additional properties such as Id and TermStore

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Group Members

Microsoft.SharePoint.Taxonomy Namespace