ControlDesignerGetPersistInnerHtml Method
 
obsoleteCodeEntityM:System.Web.UI.Design.ControlDesigner.GetPersistenceContentNote: This API is now obsolete.

Retrieves the persistable inner HTML markup of the control.

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

Syntax
[ObsoleteAttribute("The recommended alternative is GetPersistenceContent(). http://go.microsoft.com/fwlink/?linkid=14202")]
public virtual string GetPersistInnerHtml()
public:
[ObsoleteAttribute("The recommended alternative is GetPersistenceContent(). http://go.microsoft.com/fwlink/?linkid=14202")]
virtual String^ GetPersistInnerHtml()
[<ObsoleteAttribute("The recommended alternative is GetPersistenceContent(). http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract GetPersistInnerHtml : unit -> string
[<ObsoleteAttribute("The recommended alternative is GetPersistenceContent(). http://go.microsoft.com/fwlink/?linkid=14202")>]
override GetPersistInnerHtml : unit -> string
<ObsoleteAttribute("The recommended alternative is GetPersistenceContent(). http://go.microsoft.com/fwlink/?linkid=14202")>
Public Overridable Function GetPersistInnerHtml As String

Return Value

Type:

The persistable inner HTML markup of the control.

Remarks
System_CAPS_noteNote

The GetPersistInnerHtml method is obsolete. Use the GetPersistenceContent method for equivalent control designer functionality.

Version Information
.NET Framework
Available since 1.1
Return to top