CmsDataFormWebPart.GetDesignTimeHtml method

Provides an HTML view of the Web Part when in design mode.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function GetDesignTimeHtml As String
'Usage
Dim instance As CmsDataFormWebPart
Dim returnValue As String

returnValue = instance.GetDesignTimeHtml()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override string GetDesignTimeHtml()

Return value

Type: System.String
An HTML string that renders the Web Part when in design mode.

Implements

IDesignTimeHtmlProvider.GetDesignTimeHtml()
IDesignTimeHtmlProvider.GetDesignTimeHtml()

Remarks

This is a required method of the IDesignTimeHtmlProvider interface.

See also

Reference

CmsDataFormWebPart class

CmsDataFormWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace