ImageField.GetValue(Control, String, PropertyDescriptor) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したコントロールから、指定したフィールドの値を取得します。
protected:
virtual System::Object ^ GetValue(System::Web::UI::Control ^ controlContainer, System::String ^ fieldName, System::ComponentModel::PropertyDescriptor ^ % cachedDescriptor);
protected virtual object GetValue(System.Web.UI.Control controlContainer, string fieldName, ref System.ComponentModel.PropertyDescriptor cachedDescriptor);
abstract member GetValue : System.Web.UI.Control * string * PropertyDescriptor -> obj
override this.GetValue : System.Web.UI.Control * string * PropertyDescriptor -> obj
Protected Overridable Function GetValue (controlContainer As Control, fieldName As String, ByRef cachedDescriptor As PropertyDescriptor) As Object
パラメーター
- fieldName
- String
値を取得するフィールドの名前。
- cachedDescriptor
- PropertyDescriptor
フィールドのプロパティを表す参照渡しの PropertyDescriptor。
返品
指定したフィールドの値。
例外
controlContainer パラメーターはnull。
-または-
コンテナー コントロールに関連付けられているデータ項目が null。
-または-
fieldName パラメーターで指定されたフィールドが見つかりませんでした。
注釈
GetValue メソッドは、指定したフィールドの値を決定するためにImageField オブジェクトによって使用されるヘルパー メソッドです。
注意 (継承者)
ImageField オブジェクトを拡張するときに、このメソッドをオーバーライドして、フィールドの値を決定するカスタム ルーチンを提供できます。