AssociatedMetadataProvider.GetMetadataForProperties(Object, Type) AssociatedMetadataProvider.GetMetadataForProperties(Object, Type) AssociatedMetadataProvider.GetMetadataForProperties(Object, Type) AssociatedMetadataProvider.GetMetadataForProperties(Object, Type) Method

정의

파생 클래스에서 재정의되는 경우 모든 속성에 대한 메타데이터를 반환합니다.When overridden in a derived class, returns metadata for all properties.

public:
 override System::Collections::Generic::IEnumerable<System::Web::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(System::Object ^ container, Type ^ containerType);
public override System.Collections.Generic.IEnumerable<System.Web.ModelBinding.ModelMetadata> GetMetadataForProperties (object container, Type containerType);
override this.GetMetadataForProperties : obj * Type -> seq<System.Web.ModelBinding.ModelMetadata>
Public Overrides Function GetMetadataForProperties (container As Object, containerType As Type) As IEnumerable(Of ModelMetadata)

매개 변수

container
Object Object Object Object

컨테이너입니다.The container.

containerType
Type Type Type Type

컨테이너의 형식입니다.The type of the container.

반환

모든 속성에 대한 메타데이터입니다.Metadata for all properties.

예외

containerType 매개 변수가 null인 경우The containerType parameter is null.

적용 대상