共用方式為


SPControl.GetDesignTimeHtml Method

Returns the control as design-time HTML for editing in Web site development tools such as Microsoft Office FrontPage 2003.

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

Syntax

'Declaration
Public Overridable Function GetDesignTimeHtml As String
'Usage
Dim instance As SPControl
Dim returnValue As String

returnValue = instance.GetDesignTimeHtml()
public virtual string GetDesignTimeHtml()

Return Value

Type: System.String
A string that contains the design-time HTML.

Implements

IDesignTimeHtmlProvider.GetDesignTimeHtml()

See Also

Reference

SPControl Class

SPControl Members

Microsoft.SharePoint.WebControls Namespace