WebPartGalleryItemBase.WebPartContent property

Gets or sets embedded HTML that provides content for this WebPart.

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

Syntax

'Declaration
Public Overrides Property WebPartContent As String
    Get
    Set
'Usage
Dim instance As WebPartGalleryItemBase
Dim value As String

value = instance.WebPartContent

instance.WebPartContent = value
public override string WebPartContent { get; set; }

Property value

Type: System.String
Embedded HTML that provides content for this WebPart.

See also

Reference

WebPartGalleryItemBase class

WebPartGalleryItemBase members

Microsoft.SharePoint.WebPartPages namespace