ContentEditorWebPart.ContentHasToken property
取得或設定是否Content屬性包含語彙基元。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ContentHasToken As Boolean
Get
Set
'用途
Dim instance As ContentEditorWebPart
Dim value As Boolean
value = instance.ContentHasToken
instance.ContentHasToken = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.Shared)]
public bool ContentHasToken { get; set; }
Property value
Type: System.Boolean
true表示Content屬性包含語彙基元。否則, false。
備註
語彙基元會呈現此 Web 組件時以值取代的網頁組件基礎結構的預留位置。這個屬性的Storage型別是Storage.Shared。
![]() |
---|
這個屬性在內部用來支援內容編輯器網頁組件,並且不想要由開發人員使用。 |