Επεξεργασία

Κοινή χρήση μέσω


XhtmlMobileTextWriter.WriteBeginTag(String) Method

Definition

Writes any tab spacing and the opening tag of the specified markup element to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 override void WriteBeginTag(System::String ^ tag);
public override void WriteBeginTag (string tag);
override this.WriteBeginTag : string -> unit
Public Overrides Sub WriteBeginTag (tag As String)

Parameters

tag
String

The markup element to write to the output stream.

Remarks

If there is a pending break, SuppressNewLine is false, and the provided tag is not a block element (such as <p>, <div>, <ol>, or <table>), which automatically break before and after the element, the WritePendingBreak method is called before writing the beginning tag.

This method is used primarily by developers of custom mobile page and control adapters.

Applies to

See also