共用方式為


MobileTextWriter(TextWriter, MobileCapabilities) 建構函式

定義

建立指定類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

public:
 MobileTextWriter(System::IO::TextWriter ^ writer, System::Web::Mobile::MobileCapabilities ^ device);
public MobileTextWriter (System.IO.TextWriter writer, System.Web.Mobile.MobileCapabilities device);
new System.Web.UI.MobileControls.Adapters.MobileTextWriter : System.IO.TextWriter * System.Web.Mobile.MobileCapabilities -> System.Web.UI.MobileControls.Adapters.MobileTextWriter
Public Sub New (writer As TextWriter, device As MobileCapabilities)

參數

writer
TextWriter

基底寫入器物件。

device
MobileCapabilities

MobileCapabilities 類別的物件,提供特定裝置的功能資訊。

備註

配接器通常是由 ASP.NET 自動建構,而且必須具有無參數建構函式。

適用於

另請參閱