DataAnnotationsModelMetadata コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
DataAnnotationsModelMetadataProvider クラスの新しいインスタンスを初期化します。
public DataAnnotationsModelMetadata (System.Web.Mvc.DataAnnotationsModelMetadataProvider provider, Type containerType, Func<object> modelAccessor, Type modelType, string propertyName, System.ComponentModel.DataAnnotations.DisplayColumnAttribute displayColumnAttribute);
new System.Web.Mvc.DataAnnotationsModelMetadata : System.Web.Mvc.DataAnnotationsModelMetadataProvider * Type * Func<obj> * Type * string * System.ComponentModel.DataAnnotations.DisplayColumnAttribute -> System.Web.Mvc.DataAnnotationsModelMetadata
Public Sub New (provider As DataAnnotationsModelMetadataProvider, containerType As Type, modelAccessor As Func(Of Object), modelType As Type, propertyName As String, displayColumnAttribute As DisplayColumnAttribute)
パラメーター
- provider
- DataAnnotationsModelMetadataProvider
データの注釈モデルのメタデータ プロバイダー。
- containerType
- Type
コンテナーの種類。
- modelType
- Type
モデルの型。
- propertyName
- String
プロパティの名前。
- displayColumnAttribute
- DisplayColumnAttribute
表示列の属性。