ContentDesigner.GetPersistenceContent 方法

定义

获取控件的内部标记。Gets the inner markup of the control.

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

返回

控件的内部标记。The inner markup of the control.

注解

区域不是控件的属性,因此对于持久性内容,此方法必须返回控件的内部 HTML 标记。A region is not a property of the control, so for persistent content, this method must return the inner HTML markup of the control.

适用于

另请参阅