DataBoundLiteralControl.ITextControl.Text Property
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.
Gets or sets the text content of the DataBoundLiteralControl object.
property System::String ^ System::Web::UI::ITextControl::Text { System::String ^ get(); void set(System::String ^ value); };
string System.Web.UI.ITextControl.Text { get; set; }
member this.System.Web.UI.ITextControl.Text : string with get, set
Property Text As String Implements ITextControl.Text
Property Value
A String that represents the text content of the DataBoundLiteralControl.
Implements
Exceptions
An attempt to set the value is made.
Remarks
This implementation of the ITextControl interface returns the value of the Text property. The value of the Text property is persisted in the view state.
The DataBoundLiteralControl object implements ITextControl but does not support the set
method on the Text property. All attempts to use this method will return a NotSupportedException exception.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈