Share via


TaxonomyField.AnchorId property

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

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