ControlDesignerGetPersistenceContent Method

Retrieves the persistable inner HTML markup of the control at design time.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public virtual string GetPersistenceContent()
virtual String^ GetPersistenceContent()
abstract GetPersistenceContent : unit -> string
override GetPersistenceContent : unit -> string
Public Overridable Function GetPersistenceContent As String

Return Value


A string representing the persistable inner HTML markup for the associated control. The default is null.

Notes to Inheritors:

Override the GetPersistenceContent method to provide custom handling of the inner content persistence for the design host.

.NET Framework
Available since 2.0
Return to top