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
속성을 바인딩하는 방법을 제공하는 개체입니다.
반환
속성 값을 나타내는 개체입니다.