다음을 통해 공유


EmptyModelMetadataProvider.CreateMetadata 메서드

정의

ModelMetadata 클래스의 새 인스턴스를 만듭니다.

protected override System.Web.Mvc.ModelMetadata CreateMetadata (System.Collections.Generic.IEnumerable<Attribute> attributes, Type containerType, Func<object> modelAccessor, Type modelType, string propertyName);
override this.CreateMetadata : seq<Attribute> * Type * Func<obj> * Type * string -> System.Web.Mvc.ModelMetadata
Protected Overrides Function CreateMetadata (attributes As IEnumerable(Of Attribute), containerType As Type, modelAccessor As Func(Of Object), modelType As Type, propertyName As String) As ModelMetadata

매개 변수

attributes
IEnumerable<Attribute>

특성입니다.

containerType
Type

컨테이너의 형식입니다.

modelAccessor
Func<Object>

모델 접근자입니다.

modelType
Type

모델의 형식입니다.

propertyName
String

모델의 이름입니다.

반환

ModelMetadata 클래스의 새 인스턴스입니다.

적용 대상