Share via


TermGroup.CreateTermSet method

Creates a TermSet object in the current TermGroup object.

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

Syntax

'Declaration
Public Function CreateTermSet ( _
    name As String, _
    newTermSetId As Guid, _
    lcid As Integer _
) As TermSet
'Usage
Dim instance As TermGroup
Dim name As String
Dim newTermSetId As Guid
Dim lcid As Integer
Dim returnValue As TermSet

returnValue = instance.CreateTermSet(name, _
    newTermSetId, lcid)
public TermSet CreateTermSet(
    string name,
    Guid newTermSetId,
    int lcid
)

Parameters

  • newTermSetId
    Type: System.Guid

    The unique identifier of the TermSet being created

  • lcid
    Type: System.Int32

    The locale identifier of the TermSet being created

Return value

Type: Microsoft.SharePoint.Client.Taxonomy.TermSet
The newly created TermSet object

Remarks

The name cannot exceed 255 characters, and it cannot contain any of the following illegal characters: ;“<>|&tab

See also

Reference

TermGroup class

TermGroup members

Microsoft.SharePoint.Client.Taxonomy namespace