LiteralControlBuilder.AppendLiteralString(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for