HtmlTextWriter.EqualsDoubleQuoteString Campo

Definição

Representa um sinal igual (=) e uma dupla aspas (") juntos numa cadeia (=").

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

Valor de Campo

Exemplos

O seguinte exemplo de código mostra como renderizar um border atributo para um <table> elemento. O código chama o Write método para renderizar o atributo e o seu valor e usa o Write método para renderizar os EqualsDoubleQuoteString campos e.DoubleQuoteChar

Este exemplo de código gera a seguinte marcação:

border="1"

// Create a border attribute for the table,
// and set it to 1.
writer.Write("border");
writer.Write(HtmlTextWriter.EqualsDoubleQuoteString);
writer.Write("1");
writer.Write(HtmlTextWriter.DoubleQuoteChar);
' Create a border attribute for the table,
' and set it to 1.
writer.Write("border")
writer.Write(HtmlTextWriter.EqualsDoubleQuoteString)
writer.Write("1")
writer.Write(HtmlTextWriter.DoubleQuoteChar)

Observações

O EqualsDoubleQuoteString campo é usado pelos RenderBeginTag métodos e WriteAttribute para construir o delimitador de abertura dos valores dos atributos.

Aplica-se a

Ver também