Language

DataBoundLiteralControl.ITextControl.Text プロパティ

定義

DataBoundLiteralControl オブジェクトのテキスト コンテンツを取得または設定します。

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

プロパティ値

Stringのテキスト コンテンツを表すDataBoundLiteralControl。

実装

例外

値の設定が試行されます。

注釈

ITextControl インターフェイスのこの実装は、Text プロパティの値を返します。 Text プロパティの値はビュー ステートに保持されます。

DataBoundLiteralControl オブジェクトはITextControlを実装しますが、set プロパティのText メソッドはサポートしていません。 このメソッドを使用しようとすると、 NotSupportedException 例外が返されます。

適用対象