編輯

共用方式為


HtmlTextWriter.WriteFullBeginTag(String) Method

Definition

Writes any tab spacing and the opening tag of the specified markup element to the output stream.

public:
 virtual void WriteFullBeginTag(System::String ^ tagName);
public virtual void WriteFullBeginTag (string tagName);
abstract member WriteFullBeginTag : string -> unit
override this.WriteFullBeginTag : string -> unit
Public Overridable Sub WriteFullBeginTag (tagName As String)

Parameters

tagName
String

The element to write to the output stream.

Remarks

The WriteFullBeginTag method automatically writes the closing angle bracket (>) of the opening tag of the element, unlike the WriteBeginTag method, which does not write the closing angle bracket. Use WriteFullBeginTag for markup elements that have no attributes.

Applies to

See also