Control.ResolveAdapter 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.
Gets the control adapter responsible for rendering the specified control.
protected:
virtual System::Web::UI::Adapters::ControlAdapter ^ ResolveAdapter();
protected virtual System.Web.UI.Adapters.ControlAdapter ResolveAdapter ();
abstract member ResolveAdapter : unit -> System.Web.UI.Adapters.ControlAdapter
override this.ResolveAdapter : unit -> System.Web.UI.Adapters.ControlAdapter
Protected Overridable Function ResolveAdapter () As ControlAdapter
Returns
A ControlAdapter that will render the control.
Remarks
ASP.NET Web pages are viewable across a wide range of devices that are capable of requesting pages from the Web. The ResolveAdapter method returns the control adapter responsible for rendering the control on the specific browser or device that requested the ASP.NET page.
The specific adapter type returned depends on the descendent type of the Control class that is being rendered.
For more information about adapters, see Architectural Overview of Adaptive Control Behavior.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈