TaxonomyField.IsPathRendered 属性

获取或设置一个布尔值,指定是否将该Term的默认标签除了呈现TermTaxonomyField对象中的所有父Term对象的默认Label对象。

命名空间:  Microsoft.SharePoint.Client.Taxonomy
程序集:   Microsoft.SharePoint.Client.Taxonomy.Silverlight(位于 Microsoft.SharePoint.Client.Taxonomy.Silverlight.dll 中);  Microsoft.SharePoint.Client.Taxonomy.Phone(位于 Microsoft.SharePoint.Client.Taxonomy.Phone.dll 中)  Microsoft.SharePoint.Client.Taxonomy(位于 Microsoft.SharePoint.Client.Taxonomy.dll 中)

语法

声明
Public Property IsPathRendered As Boolean
    Get
    Set
用法
Dim instance As TaxonomyField
Dim value As Boolean

value = instance.IsPathRendered

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

属性值

类型:System.Boolean
true如果将该Term默认Label除了呈现TermTaxonomyField中的所有父Term对象的默认标签。

备注

如果此属性设置为true, TaxonomyField呈现为一系列用冒号字符分隔的默认标签 ︰

RootLabel:...:ParentLabel:Label

如果此属性设置为false,仅默认Label的每个Term呈现。

如果设置IsPathRendered属性必须调用以使更改生效数据库中的Update方法。

另请参阅

引用

TaxonomyField 类

TaxonomyField 成员

Microsoft.SharePoint.Client.Taxonomy 命名空间

Microsoft.SharePoint.Client.Taxonomy

Microsoft.SharePoint