다음을 통해 공유


DefaultModelBinder.GetFilteredModelProperties 메서드

정의

지정된 에 의해 설정된 속성 필터 제한과 일치하는 속성 집합을 binding context반환합니다.

protected System.Collections.Generic.IEnumerable<System.ComponentModel.PropertyDescriptor> GetFilteredModelProperties (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext);
member this.GetFilteredModelProperties : System.Web.Mvc.ControllerContext * System.Web.Mvc.ModelBindingContext -> seq<System.ComponentModel.PropertyDescriptor>
Protected Function GetFilteredModelProperties (controllerContext As ControllerContext, bindingContext As ModelBindingContext) As IEnumerable(Of PropertyDescriptor)

매개 변수

controllerContext
ControllerContext

컨트롤러가 작동하는 컨텍스트입니다. 컨텍스트 정보에는 컨트롤러, HTTP 콘텐츠, 요청 컨텍스트 및 경로 데이터가 포함됩니다.

bindingContext
ModelBindingContext

모델이 바인딩되는 컨텍스트입니다. 컨텍스트에는 모델 개체, 모델 이름, 모델 형식, 속성 필터, 값 공급자 등의 정보가 포함됩니다.

반환

열거 가능한 속성 설명자 집합입니다.

적용 대상