DefaultModelBinder.GetModelProperties 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 컨트롤러 컨텍스트와 바인딩 컨텍스트를 사용하여 모델의 속성을 반환합니다.
protected virtual System.ComponentModel.PropertyDescriptorCollection GetModelProperties (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext);
abstract member GetModelProperties : System.Web.Mvc.ControllerContext * System.Web.Mvc.ModelBindingContext -> System.ComponentModel.PropertyDescriptorCollection
override this.GetModelProperties : System.Web.Mvc.ControllerContext * System.Web.Mvc.ModelBindingContext -> System.ComponentModel.PropertyDescriptorCollection
Protected Overridable Function GetModelProperties (controllerContext As ControllerContext, bindingContext As ModelBindingContext) As PropertyDescriptorCollection
매개 변수
- controllerContext
- ControllerContext
컨트롤러가 작동하는 컨텍스트입니다. 컨텍스트 정보에는 컨트롤러, HTTP 콘텐츠, 요청 컨텍스트 및 경로 데이터가 포함됩니다.
- bindingContext
- ModelBindingContext
모델이 바인딩되는 컨텍스트입니다. 컨텍스트에는 모델 개체, 모델 이름, 모델 형식, 속성 필터, 값 공급자 등의 정보가 포함됩니다.
반환
속성 설명자의 컬렉션입니다.
적용 대상
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기