ContentDesigner.SetEditableDesignerRegionContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.