ContentDesigner.SetEditableDesignerRegionContent Method (EditableDesignerRegion, String)

 

Sets the content of the specified EditableDesignerRegion object.

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

Public Overrides Sub SetEditableDesignerRegionContent (
	region As EditableDesignerRegion,
	content As String
)

Parameters

region
Type: System.Web.UI.Design.EditableDesignerRegion

The EditableDesignerRegion in which to set the content.

content
Type: System.String

The persistence string for the EditableDesignerRegion content.

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.

.NET Framework
Available since 2.0
Return to top
Show: