ContentDesigner.GetDesignTimeHtml(DesignerRegionCollection) 方法

定义

从指定 DesignerRegionCollection 对象获取用于在设计时表示控件的标记。Gets the markup that is used to represent the control at design time from the specified DesignerRegionCollection object.

public:
 override System::String ^ GetDesignTimeHtml(System::Web::UI::Design::DesignerRegionCollection ^ regions);
public override string GetDesignTimeHtml (System.Web.UI.Design.DesignerRegionCollection regions);
override this.GetDesignTimeHtml : System.Web.UI.Design.DesignerRegionCollection -> string
Public Overrides Function GetDesignTimeHtml (regions As DesignerRegionCollection) As String

参数

regions
DesignerRegionCollection

DesignerRegionCollection 生成的设计时标记关联的 GetDesignTimeHtml(DesignerRegionCollection)The DesignerRegionCollection associated with the design-time markup generated by GetDesignTimeHtml(DesignerRegionCollection).

返回

设计时用于表示控件的标记。The markup that is used to represent the control at design time.

注解

GetDesignTimeHtml 生成的标记包括区域标识符。The markup generated by GetDesignTimeHtml includes region identifiers. GetDesignTimeHtml 应将 DesignerRegion 元素添加到 regions 参数指定的 DesignerRegionCollectionGetDesignTimeHtml should add DesignerRegion elements to the DesignerRegionCollection specified by the regions parameter.

适用于

另请参阅