CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadata メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
派生クラスによってオーバーライドされると、プロパティのキャッシュされたモデル メタデータを作成します。
protected override sealed 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 NotOverridable 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
コンテナーの型。
- modelType
- Type
モデル型。
- propertyName
- String
プロパティ名。
戻り値
プロパティのキャッシュされたモデル メタデータ。