WebPart.GetDesignTimeHeader 方法
返回由从System.Web.UI.ControlDesigner派生的自定义设计为 Web 部件框架的标头部分静态 HTML。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetDesignTimeHeader As String
用法
Dim instance As WebPart
Dim returnValue As String
returnValue = instance.GetDesignTimeHeader()
public string GetDesignTimeHeader()
返回值
类型:System.String
指定 Web 部件框架的标题部分的 HTML string 。
备注
在设计模式下,单击最小化图标,如标头中执行的任何用户界面操作会产生任何效果。