WmlMobileTextWriter.WritePostField 方法

定义

写入 < postfield > 元素,以便将该值视为由 type 参数指定。Writes a < postfield > element, treating the value as specified by the type parameter. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

重载

WritePostField(String, String)

使用提供的参数编写 < postfield > 元素。Writes a < postfield > element, using the provided parameters. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

WritePostField(String, String, WmlPostFieldType)

写入 <postfield> 元素,将该值视为由 type 参数指定。Writes a < postfield > element, treating the value as specified by the type parameter. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

WritePostField(String, String)

使用提供的参数编写 < postfield > 元素。Writes a < postfield > element, using the provided parameters. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 void WritePostField(System::String ^ name, System::String ^ value);
public void WritePostField (string name, string value);
member this.WritePostField : string * string -> unit
Public Sub WritePostField (name As String, value As String)

参数

name
String

字段名。The field name.

value
String

发送字段值。The post field value.

注解

假设有一个 type 默认为的参数 NormalThere is an assumed type parameter that defaults to Normal.

适用于

WritePostField(String, String, WmlPostFieldType)

写入 <postfield> 元素,将该值视为由 type 参数指定。Writes a < postfield > element, treating the value as specified by the type parameter. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 void WritePostField(System::String ^ name, System::String ^ value, System::Web::UI::MobileControls::Adapters::WmlPostFieldType type);
public void WritePostField (string name, string value, System.Web.UI.MobileControls.Adapters.WmlPostFieldType type);
member this.WritePostField : string * string * System.Web.UI.MobileControls.Adapters.WmlPostFieldType -> unit
Public Sub WritePostField (name As String, value As String, type As WmlPostFieldType)

参数

name
String

字段名。The field name.

value
String

发送字段值。The post field value.

适用于