다음을 통해 공유


ModelMetadataProvider.GetMetadataForConstructor(ConstructorInfo, Type) 메서드

정의

생성자를 설명하는 메타데이터를 제공합니다.

public:
 virtual Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ GetMetadataForConstructor(System::Reflection::ConstructorInfo ^ constructor, Type ^ modelType);
public virtual Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata GetMetadataForConstructor (System.Reflection.ConstructorInfo constructor, Type modelType);
abstract member GetMetadataForConstructor : System.Reflection.ConstructorInfo * Type -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
override this.GetMetadataForConstructor : System.Reflection.ConstructorInfo * Type -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
Public Overridable Function GetMetadataForConstructor (constructor As ConstructorInfo, modelType As Type) As ModelMetadata

매개 변수

modelType
Type

생성자를 선언하는 형식입니다.

반환

ModelMetadata 설명하는 constructorinstance.

적용 대상