共用方式為


DataFormWebPart.GetDesignTimeHtml method

傳回設計階段 html 格式的控制項,以便在 web 開發工具中編輯。

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

Syntax

'宣告
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Overridable Function GetDesignTimeHtml As String
'用途
Dim instance As DataFormWebPart
Dim returnValue As String

returnValue = instance.GetDesignTimeHtml()
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public virtual string GetDesignTimeHtml()

傳回值

Type: System.String
設計階段 HTML。

Implements

IDesignTimeHtmlProvider.GetDesignTimeHtml()

備註

設計主應用程式會呼叫這個方法,以取得之前呈現控制項的設計階段 HTML。

請參閱

參照

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace