Redigera

Dela via


WebFormsRootDesigner.GetControlViewAndTag Method

Definition

When overridden in a derived class, returns both the current design-time view and the HTML markup for the specified control.

protected public:
 abstract void GetControlViewAndTag(System::Web::UI::Control ^ control, [Runtime::InteropServices::Out] System::Web::UI::Design::IControlDesignerView ^ % view, [Runtime::InteropServices::Out] System::Web::UI::Design::IControlDesignerTag ^ % tag);
protected internal abstract void GetControlViewAndTag (System.Web.UI.Control control, out System.Web.UI.Design.IControlDesignerView view, out System.Web.UI.Design.IControlDesignerTag tag);
abstract member GetControlViewAndTag : System.Web.UI.Control * IControlDesignerView * IControlDesignerTag -> unit
Protected Friend MustOverride Sub GetControlViewAndTag (control As Control, ByRef view As IControlDesignerView, ByRef tag As IControlDesignerTag)

Parameters

control
Control

The control to provide the view and tag for.

view
IControlDesignerView

When the GetControlViewAndTag(Control, IControlDesignerView, IControlDesignerTag) method returns, view contains an IControlDesignerView object that provides access to the visual representation and content of a control at design time. view is passed uninitialized.

tag
IControlDesignerTag

When the GetControlViewAndTag(Control, IControlDesignerView, IControlDesignerTag) method returns, tag contains an IControlDesignerTag object that provides access to the HTML element for the control's control designer. tag is passed uninitialized.

Applies to

See also