Share via


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

Microsoft.SharePoint.Client.Taxonomy

Microsoft.SharePoint