다음을 통해 공유


ContentEditorWebPart.ContentHasToken Property

Gets or sets whether the Content property contains tokens.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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