Partilhar via


TaxonomyField.AnchorId Property

Gets or sets the GUID of the anchor Term object for a TaxonomyField object.

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

Syntax

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

value = instance.AnchorId

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

Property Value

Type: System.Guid
The GUID of the anchor Term for a TaxonomyField object.

Remarks

An anchor Term is the Term in the hierarchical TermStore that serves as the root node of the [Term] objects that are permissible for the current TaxonomyField object.

See Also

Reference

TaxonomyField Class

TaxonomyField Members

Microsoft.SharePoint.Taxonomy Namespace

Microsoft.SharePoint.Taxonomy

Microsoft.SharePoint