WebPartGalleryItem.WebPartContent Property

When overridden in a derived class, gets or sets embedded HTML that provides content for this WebPart.

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

Syntax

'Declaration
Public MustOverride Property WebPartContent As String
    Get
    Set
'Usage
Dim instance As WebPartGalleryItem
Dim value As String

value = instance.WebPartContent

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

Property Value

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

See Also

Reference

WebPartGalleryItem Class

WebPartGalleryItem Members

Microsoft.SharePoint.WebPartPages Namespace