共用方式為


TaxonomyField.IsPathRendered 屬性

取得或設定一個 Boolean 值,指定是否要TermTaxonomyField物件中的所有上層Term物件的預設Label物件呈現除了該Term的預設標籤。

命名空間:  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