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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應