WmlMobileTextWriter.WriteAttribute(String, String, Boolean) 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.
Writes the specified markup attribute and value to the output stream, and, if specified, writes the value encoded. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
override void WriteAttribute(System::String ^ attribute, System::String ^ value, bool encode);
public override void WriteAttribute (string attribute, string value, bool encode);
override this.WriteAttribute : string * string * bool -> unit
Public Overrides Sub WriteAttribute (attribute As String, value As String, encode As Boolean)
Parameters
- attribute
- String
The markup attribute to write to the output stream.
- value
- String
The value assigned to the attribute.
- encode
- Boolean
true
to encode the attribute and its assigned value; otherwise, false
.