Export (0) Print
Expand All

LoginDesigner.GetEditableDesignerRegionContent Method

Note: This method is new in the .NET Framework version 2.0.

Returns a serialized copy of the 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 override string GetEditableDesignerRegionContent (
	EditableDesignerRegion region
)
public String GetEditableDesignerRegionContent (
	EditableDesignerRegion region
)
public override function GetEditableDesignerRegionContent (
	region : EditableDesignerRegion
) : String

Parameters

region

The EditableDesignerRegion for which to fetch content.

Return Value

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

The GetEditableDesignerRegionContent method creates a copy of the LayoutTemplate object of the associated Login control in the control container and returns a serialized copy.

The serialized template can be restored to a part of the Login control using the SetEditableDesignerRegionContent method.

The region parameter is not used by the GetEditableDesignerRegionContent.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show:
© 2014 Microsoft