Share via


WikiContentWebpart.Content property

Gets or sets the HTML content and server control tags that provide content for this Web Part.

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

Syntax

'Declaration
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public Property Content As String
    Get
    Set
'Usage
Dim instance As WikiContentWebpart
Dim value As String

value = instance.Content

instance.Content = value
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public string Content { get; set; }

Property value

Type: System.String
The HTML content and server control tags that provide content for this Web Part.

See also

Reference

WikiContentWebpart class

WikiContentWebpart members

Microsoft.SharePoint.WebPartPages namespace