LiteralControlBuilder.AppendLiteralString(String) Método

Definição

Adiciona o conteúdo literal especificado a um controle.Adds the specified literal content to a control. O método AppendLiteralString(String) é chamado pela estrutura de página ASP.NET.The AppendLiteralString(String) method is called by the ASP.NET page framework.

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

Parâmetros

s
String

O conteúdo a ser adicionado ao controle.The content to add to the control.

Exceções

O literal da cadeia de caracteres não está bem-formado.The string literal is not well formed.

Comentários

Se a cadeia de caracteres for um espaço em branco, ela será tratada de acordo com a configuração do AllowWhitespaceLiterals método.If the string is white space, it is handled according to the setting of the AllowWhitespaceLiterals method. Caso contrário, ele será tratado como se o texto interno representar a Text propriedade.Otherwise, it is treated as if the inner text represents the Text property.

Aplica-se a

Confira também