HtmlTextWriter.SelfClosingChars 字段

定义

表示空格和标记的自结束斜杠 (/)。Represents a space and the self-closing slash mark (/) of a markup tag.

public: System::String ^ SelfClosingChars;
public const string SelfClosingChars;
val mutable SelfClosingChars : string
Public Const SelfClosingChars As String 

字段值

注解

SelfClosingChars字段用于自行关闭的标记元素。The SelfClosingChars field is used in markup elements that are self-closed. 例如:For example:

<input type="submit" value="go" />

适用于

另请参阅