ChangePasswordDesigner.GetDesignTimeHtml 方法

定义

获取用于在设计时呈现关联控件的标记。

重载

名称 说明
GetDesignTimeHtml()

获取用于在设计时呈现关联控件的标记。

GetDesignTimeHtml(DesignerRegionCollection)

获取用于在设计时呈现关联控件并填充设计器区域的集合的标记。

GetDesignTimeHtml()

获取用于在设计时呈现关联控件的标记。

public:
 override System::String ^ GetDesignTimeHtml();
public override string GetDesignTimeHtml();
override this.GetDesignTimeHtml : unit -> string
Public Overrides Function GetDesignTimeHtml () As String

返回

包含 String 用于在设计时呈现的 ChangePassword 标记。

注解

该方法 GetDesignTimeHtml 将关联 ChangePassword 控件的模式(可以是副本)设置为实际控件的当前模式。 接下来,它会强制重新创建子控件,然后调用基方法以生成标记。 如果发生错误,则 GetDesignTimeHtml 调用 GetErrorDesignTimeHtml 该方法以生成占位符的标记。

继承者说明

如果重写该方法 GetDesignTimeHtml() ,请务必调用基方法,因为它最终对控件或控件的副本调用 ChangePassword 以生成标记。

另请参阅

适用于

GetDesignTimeHtml(DesignerRegionCollection)

获取用于在设计时呈现关联控件并填充设计器区域的集合的标记。

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已添加关联控件的当前视图的定义。

返回

包含 String 用于在设计时呈现的 ChangePassword 标记。

注解

该方法 GetDesignTimeHtml(DesignerRegionCollection) 调用 GetDesignTimeHtml() 该方法以生成控件设计时呈现的 ChangePassword 标记。 它还将对象 DesignerRegion 添加到 regions 描述控件的 ChangePassword 当前视图的参数中。

继承者说明

如果重写该方法 GetEditableDesignerRegionContent(EditableDesignerRegion) ,请务必调用基方法,因为它最终对控件或控件的副本调用 ChangePassword 以生成标记。

另请参阅

适用于