다음을 통해 공유


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.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.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.Taxonomy Namespace

TermSet

Microsoft.SharePoint.Taxonomy

Microsoft.SharePoint