LoginViewDesigner.SetEditableDesignerRegionContent Method

Sets a region of the associated control from a serialized copy of a control template.

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

public:
virtual void SetEditableDesignerRegionContent (
	EditableDesignerRegion^ region, 
	String^ content
) override
public void SetEditableDesignerRegionContent (
	EditableDesignerRegion region, 
	String content
)
public override function SetEditableDesignerRegionContent (
	region : EditableDesignerRegion, 
	content : String
)
Not applicable.

Parameters

region

An EditableDesignerRegion that provides the name of the region to update.

content

A string that contains a serialized template for the associated control.

The SetEditableDesignerRegionContent method parses a serialized template for the associated LoginView control that is specified by the content parameter, and then uses the template to update the region of the control that is specified by the Name property of the region parameter.

The current template of the LoginView control can be serialized using the GetEditableDesignerRegionContent 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: