Редагувати

Поділитися через


LoginViewDesigner.SetEditableDesignerRegionContent Method

Definition

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

public:
 override void SetEditableDesignerRegionContent(System::Web::UI::Design::EditableDesignerRegion ^ region, System::String ^ content);
public override void SetEditableDesignerRegionContent (System.Web.UI.Design.EditableDesignerRegion region, string content);
override this.SetEditableDesignerRegionContent : System.Web.UI.Design.EditableDesignerRegion * string -> unit
Public Overrides Sub SetEditableDesignerRegionContent (region As EditableDesignerRegion, content As String)

Parameters

region
EditableDesignerRegion

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

content
String

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

Remarks

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.

Applies to

See also