ContentEditorWebPart.ContentHasToken property

Gets or sets whether the Content property contains tokens.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ContentHasToken As Boolean
    Get
    Set
'Usage
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 indicates that the Content property contains tokens; otherwise, false.

Remarks

Tokens are placeholders that are replaced with values by the Web Part infrastructure when this Web Part is rendered. The Storage type of this property is Storage.Shared.

Note

This property is used internally to support the Content Editor Web Part and isn't intended to be used by developers.

See also

Reference

ContentEditorWebPart class

ContentEditorWebPart members

Microsoft.SharePoint.WebPartPages namespace