TaxonomyField.IsPathRendered Property

Gets or sets a Boolean value that specifies whether the default Label objects of all the parent Term objects of a Term in the TaxonomyField object will be rendered in addition to the default label of that Term.

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

Syntax

'Declaration
Public Property IsPathRendered As Boolean
    Get
    Set
'Usage
Dim instance As TaxonomyField
Dim value As Boolean

value = instance.IsPathRendered

instance.IsPathRendered = value
public bool IsPathRendered { get; set; }

Property Value

Type: System.Boolean
true if the default labels of all the parent Term objects of a Term in the TaxonomyField will be rendered in addition to The default Label of that Term.

Remarks

If this property is set to true, the TaxonomyField is rendered as a series of default labels separated by colon characters:

[RootLabel:...:ParentLabel:Label]

If this property is set to false, only the default Label of each Term is rendered.

If you set the IsPathRendered property you must call the Update method for changes to take effect in the database.

See Also

Reference

TaxonomyField Class

TaxonomyField Members

Microsoft.SharePoint.Taxonomy Namespace

Microsoft.SharePoint.Taxonomy

Microsoft.SharePoint