UserControlDesigner.GetDesignTimeHtml 方法

定义

获取在设计时用于表示用户控件的 HTML 标记。Gets the HTML markup that is used to represent the user control at design time.

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

返回

String

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

例外

子控件的 ID 属性为空(即 null)。The ID property of a child control is empty or null.

适用于