Export (0) Print
Expand All

TaxonomyField.IsAnchorValid property

Gets a Boolean value that specifies whether the Term object identified by the T:Microsoft.SharePoint.Taxonomy.TaxonomyField.AnchorId property is valid.

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

'Declaration
Public ReadOnly Property IsAnchorValid As Boolean
	Get
'Usage
Dim instance As TaxonomyField
Dim value As Boolean

value = instance.IsAnchorValid

Property value

Type: System.Boolean
true if the Term identified by the AnchorId property is valid; otherwise, false

This property always returns true if the TaxonomyField points to the Enterprise Keywords TermSet, or if the TaxonomyField points to the entire TermSet (i.e., if the AnchorId property returns Empty).

Show:
© 2015 Microsoft