다음을 통해 공유


ModelMetadataIdentity.ForProperty 메서드

정의

오버로드

ForProperty(PropertyInfo, Type, Type)

ModelMetadataIdentity 제공된 속성에 대한 를 만듭니다.

ForProperty(Type, String, Type)
사용되지 않음.
사용되지 않음.

ModelMetadataIdentity 제공된 속성에 대한 를 만듭니다.

ForProperty(PropertyInfo, Type, Type)

Source:
ModelMetadataIdentity.cs

ModelMetadataIdentity 제공된 속성에 대한 를 만듭니다.

public:
 static Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelMetadataIdentity ForProperty(System::Reflection::PropertyInfo ^ propertyInfo, Type ^ modelType, Type ^ containerType);
public static Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity ForProperty (System.Reflection.PropertyInfo propertyInfo, Type modelType, Type containerType);
static member ForProperty : System.Reflection.PropertyInfo * Type * Type -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity
Public Shared Function ForProperty (propertyInfo As PropertyInfo, modelType As Type, containerType As Type) As ModelMetadataIdentity

매개 변수

propertyInfo
PropertyInfo

속성입니다.

modelType
Type

모델 형식입니다.

containerType
Type

모델 속성의 컨테이너 형식입니다.

반환

ModelMetadataIdentity.

적용 대상

ForProperty(Type, String, Type)

Source:
ModelMetadataIdentity.cs
Source:
ModelMetadataIdentity.cs
Source:
ModelMetadataIdentity.cs

주의

This API is obsolete and may be removed in a future release.

주의

This API is obsolete and may be removed in a future release. Please use the overload that takes a PropertyInfo object.

ModelMetadataIdentity 제공된 속성에 대한 를 만듭니다.

public:
 static Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelMetadataIdentity ForProperty(Type ^ modelType, System::String ^ name, Type ^ containerType);
public static Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity ForProperty (Type modelType, string name, Type containerType);
[System.Obsolete("This API is obsolete and may be removed in a future release.")]
public static Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity ForProperty (Type modelType, string name, Type containerType);
[System.Obsolete("This API is obsolete and may be removed in a future release. Please use the overload that takes a PropertyInfo object.")]
public static Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity ForProperty (Type modelType, string name, Type containerType);
static member ForProperty : Type * string * Type -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity
[<System.Obsolete("This API is obsolete and may be removed in a future release.")>]
static member ForProperty : Type * string * Type -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity
[<System.Obsolete("This API is obsolete and may be removed in a future release. Please use the overload that takes a PropertyInfo object.")>]
static member ForProperty : Type * string * Type -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity
Public Shared Function ForProperty (modelType As Type, name As String, containerType As Type) As ModelMetadataIdentity

매개 변수

modelType
Type

모델 형식입니다.

name
String

속성의 이름입니다.

containerType
Type

모델 속성의 컨테이너 형식입니다.

반환

ModelMetadataIdentity.

특성

적용 대상