WmlMobileTextWriter.WritePostField Method

Definition

Writes a < postfield > element, treating the value as specified by the type parameter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

WritePostField(String, String)

Writes a < postfield > element, using the provided parameters. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

WritePostField(String, String, WmlPostFieldType)

Writes a < postfield > element, treating the value as specified by the type parameter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

WritePostField(String, String)

Writes a < postfield > element, using the provided parameters. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public void WritePostField(string name, string value);

Parameters

name
String

The field name.

value
String

The post field value.

Remarks

There is an assumed type parameter that defaults to Normal.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

WritePostField(String, String, WmlPostFieldType)

Writes a < postfield > element, treating the value as specified by the type parameter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public void WritePostField(string name, string value, System.Web.UI.MobileControls.Adapters.WmlPostFieldType type);

Parameters

name
String

The field name.

value
String

The post field value.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1