Parameter.Evaluate メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Parameter.Evaluate メソッドの意味・解説 

Parameter.Evaluate メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

Parameter オブジェクトの値を更新して返します

名前空間: System.Web.UI.WebControls
アセンブリ: System.Web (system.web.dll 内)
構文構文

解説解説
使用例使用例

Evaluate メソッドオーバーライドして、Parameter クラスから派生したクラス正しい値を返す方法次のコード例示します。このコード例Parameter クラス概要取り上げているコード例一部分です。

' The Evaluate method is overridden to return the
' DataValue property instead of the DefaultValue.
Protected Overrides Function
 Evaluate(context As HttpContext, control As
 Control) As Object
   If context Is Nothing
 Then
       Return Nothing
   Else
       Return DataValue
   End If
End Function
// The Evaluate method is overridden to return the
// DataValue property instead of the DefaultValue.
protected override object Evaluate(HttpContext context, Control
 control) {

  if (context.Request == null)
      return null;

  return DataValue;
}
// The Evaluate method is overridden to return the 
// DataValue property instead of the DefaultValue.
protected Object Evaluate(Control control)
{
    return get_DataValue();
} //Evaluate
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

Parameter.Evaluate メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Parameter.Evaluate メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS