ControlDesigner.GetPersistenceContent 方法
定义
在设计时检索该控件的持久内部 HTML 标记。Retrieves the persistable inner HTML markup of the control at design time.
public:
virtual System::String ^ GetPersistenceContent();
public virtual string GetPersistenceContent ();
abstract member GetPersistenceContent : unit -> string
override this.GetPersistenceContent : unit -> string
Public Overridable Function GetPersistenceContent () As String
返回
一个字符串,表示关联控件的持久性内部 HTML 标记。A string representing the persistable inner HTML markup for the associated control. 默认值为 null。The default is null.
继承者说明
重写 GetPersistenceContent() 方法以提供对设计宿主的内部内容持久性的自定义处理。Override the GetPersistenceContent() method to provide custom handling of the inner content persistence for the design host.