DefaultModelBinder.GetPropertyValue メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定されたコントローラー コンテキスト、バインディング コンテキスト、プロパティ記述子、およびプロティ バインダーを使用して、プロパティの値を返します。
protected virtual object GetPropertyValue (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, System.ComponentModel.PropertyDescriptor propertyDescriptor, System.Web.Mvc.IModelBinder propertyBinder);
abstract member GetPropertyValue : System.Web.Mvc.ControllerContext * System.Web.Mvc.ModelBindingContext * System.ComponentModel.PropertyDescriptor * System.Web.Mvc.IModelBinder -> obj
override this.GetPropertyValue : System.Web.Mvc.ControllerContext * System.Web.Mvc.ModelBindingContext * System.ComponentModel.PropertyDescriptor * System.Web.Mvc.IModelBinder -> obj
Protected Overridable Function GetPropertyValue (controllerContext As ControllerContext, bindingContext As ModelBindingContext, propertyDescriptor As PropertyDescriptor, propertyBinder As IModelBinder) As Object
パラメーター
- controllerContext
- ControllerContext
コントローラーが機能するコンテキスト。 このコンテキスト情報には、コントローラー、HTTP コンテンツ、要求コンテキスト、ルート データなどが含まれます。
- bindingContext
- ModelBindingContext
モデルをバインドするコンテキスト。 このコンテキストには、モデル オブジェクト、モデル名、モデルの型、プロパティ フィルター、値プロバイダーなどの情報が含まれます。
- propertyDescriptor
- PropertyDescriptor
アクセスするプロパティの記述子。 記述子は、コンポーネントの型、プロパティの型、プロパティ値などの情報を提供します。 また、プロパティ値を取得または設定するメソッドを提供します。
- propertyBinder
- IModelBinder
プロパティをバインドする方法を提供するオブジェクト。
戻り値
プロパティ値を表す オブジェクト。