Control.ResolveAdapter Control.ResolveAdapter Control.ResolveAdapter Control.ResolveAdapter Method

定義

取得負責呈現指定之控制項的控制項配置器。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

傳回

負責呈現控制項的 ControlAdapterA ControlAdapter that will render the control.

備註

ASP.NET 網頁都可檢視各種不同的裝置可以從 Web 要求的頁面。ASP.NET Web pages are viewable across a wide range of devices that are capable of requesting pages from the Web. ResolveAdapter方法傳回的控制項配接器負責轉譯特定的瀏覽器或裝置上的控制項,要求 ASP.NET 網頁。The ResolveAdapter method returns the control adapter responsible for rendering the control on the specific browser or device that requested the ASP.NET page.

傳回特定的配接器類型的子系的型別而定Control所呈現的類別。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.

適用於

另請參閱