Muokkaa

Jaa


ContentDesigner.SetEditableDesignerRegionContent Method

Definition

Sets the content of the specified EditableDesignerRegion object.

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

The EditableDesignerRegion in which to set the content.

content
String

The persistence string for the EditableDesignerRegion content.

Remarks

Developers will typically persist the content to the control or property that represents the region.

If EditableDesignerRegion elements are defined in the DesignerRegionCollection and the design-time markup contains region identifiers, the SetEditableDesignerRegionContent method is used to set the content for each EditableDesignerRegion in the DesignerRegionCollection.

Applies to

See also