TaxonomyField.TermSetId property

Gets or sets the GUID of the TermSet object that contains the Term objects used by the current TaxonomyField object.

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

Syntax

'Declaration
Public Property TermSetId As Guid
    Get
    Set
'Usage
Dim instance As TaxonomyField
Dim value As Guid

value = instance.TermSetId

instance.TermSetId = value
public Guid TermSetId { get; set; }

Property value

Type: System.Guid
The GUID of the [TermSet] that contains the [Term] objects used by the current TaxonomyField object.

Remarks

If the SPSite object, the TaxonomySession object, the TermStore object, or TermSet object cannot be found, the property returns a Empty object.

See also

Reference

TaxonomyField class

TaxonomyField members

Microsoft.SharePoint.Client.Taxonomy namespace

TermSet

Microsoft.SharePoint.Client.Taxonomy

Microsoft.SharePoint