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
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



Parameter.Evaluate メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS