Bewerken

Delen via


ViewRendering Constructors

Definition

Initializes a new instance of the ViewRendering class.

Overloads

ViewRendering(String, DesignerRegionCollection)

Initializes a new instance of the ViewRendering class by using the specified content and regions.

ViewRendering(String, DesignerRegionCollection, Boolean)

Initializes a new instance of the ViewRendering class by using the specified content, regions, and visibility mode.

ViewRendering(String, DesignerRegionCollection)

Initializes a new instance of the ViewRendering class by using the specified content and regions.

public:
 ViewRendering(System::String ^ content, System::Web::UI::Design::DesignerRegionCollection ^ regions);
public ViewRendering (string content, System.Web.UI.Design.DesignerRegionCollection regions);
new System.Web.UI.Design.ViewRendering : string * System.Web.UI.Design.DesignerRegionCollection -> System.Web.UI.Design.ViewRendering
Public Sub New (content As String, regions As DesignerRegionCollection)

Parameters

content
String

HTML markup.

regions
DesignerRegionCollection

A collection that contains the regions.

See also

Applies to

ViewRendering(String, DesignerRegionCollection, Boolean)

Initializes a new instance of the ViewRendering class by using the specified content, regions, and visibility mode.

public:
 ViewRendering(System::String ^ content, System::Web::UI::Design::DesignerRegionCollection ^ regions, bool visible);
public ViewRendering (string content, System.Web.UI.Design.DesignerRegionCollection regions, bool visible);
new System.Web.UI.Design.ViewRendering : string * System.Web.UI.Design.DesignerRegionCollection * bool -> System.Web.UI.Design.ViewRendering
Public Sub New (content As String, regions As DesignerRegionCollection, visible As Boolean)

Parameters

content
String

The HTML markup.

regions
DesignerRegionCollection

A collection of regions.

visible
Boolean

A value that indicates whether the control is rendered.

Applies to