LoginViewDesigner.GetEditableDesignerRegionContent Method

Returns a serialized copy of the current template that is used to render the associated control at design time.

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

public:
virtual String^ GetEditableDesignerRegionContent (
	EditableDesignerRegion^ region
) override
public String GetEditableDesignerRegionContent (
	EditableDesignerRegion region
)
public override function GetEditableDesignerRegionContent (
	region : EditableDesignerRegion
) : String
Not applicable.

Parameters

region

The EditableDesignerRegion for which to obtain content.

Return Value

A string containing a serialized copy of the template used to render the associated LoginView at design time.

If a template implementing the ITemplate interface can be obtained from the region parameter, the GetEditableDesignerRegionContent method returns the persisted template. Otherwise, it calls the GetEditableDesignerRegionContent base method to generate the content.

The serialized template can be restored to the LoginView control by using the SetEditableDesignerRegionContent method.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: