Bewerken

Delen via


LiteralControlBuilder.AppendLiteralString(String) Method

Definition

Adds the specified literal content to a control. 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)

Parameters

s
String

The content to add to the control.

Exceptions

The string literal is not well formed.

Remarks

If the string is white space, it is handled according to the setting of the AllowWhitespaceLiterals method. Otherwise, it is treated as if the inner text represents the Text property.

Applies to

See also