WebFormsRootDesigner.GetControlViewAndTag 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.
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.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈