CachedAssociatedMetadataProvider<TModelMetadata>.GetMetadataForProperty メソッド

定義

オーバーロード

GetMetadataForProperty(Func<Object>, Type, PropertyDescriptor)

指定したプロパティのメタデータを返します。

GetMetadataForProperty(Func<Object>, Type, String)

指定したプロパティのメタデータを返します。

GetMetadataForProperty(Func<Object>, Type, PropertyDescriptor)

指定したプロパティのメタデータを返します。

protected override sealed System.Web.Mvc.ModelMetadata GetMetadataForProperty (Func<object> modelAccessor, Type containerType, System.ComponentModel.PropertyDescriptor propertyDescriptor);
override this.GetMetadataForProperty : Func<obj> * Type * System.ComponentModel.PropertyDescriptor -> System.Web.Mvc.ModelMetadata
Protected Overrides NotOverridable Function GetMetadataForProperty (modelAccessor As Func(Of Object), containerType As Type, propertyDescriptor As PropertyDescriptor) As ModelMetadata

パラメーター

modelAccessor
Func<Object>

モデル アクセサー。

containerType
Type

コンテナーの型。

propertyDescriptor
PropertyDescriptor

プロパティ記述子。

戻り値

指定したプロパティのメタデータ。

適用対象

GetMetadataForProperty(Func<Object>, Type, String)

指定したプロパティのメタデータを返します。

public override sealed System.Web.Mvc.ModelMetadata GetMetadataForProperty (Func<object> modelAccessor, Type containerType, string propertyName);
override this.GetMetadataForProperty : Func<obj> * Type * string -> System.Web.Mvc.ModelMetadata
Public Overrides NotOverridable Function GetMetadataForProperty (modelAccessor As Func(Of Object), containerType As Type, propertyName As String) As ModelMetadata

パラメーター

modelAccessor
Func<Object>

モデル アクセサー。

containerType
Type

コンテナーの型。

propertyName
String

プロパティ名。

戻り値

指定したプロパティのメタデータ。

適用対象