共用方式為


CachedAssociatedMetadataProvider<TModelMetadata>.GetMetadataForProperties 方法

定義

取得屬性的中繼資料。

public override sealed System.Collections.Generic.IEnumerable<System.Web.Mvc.ModelMetadata> GetMetadataForProperties (object container, Type containerType);
override this.GetMetadataForProperties : obj * Type -> seq<System.Web.Mvc.ModelMetadata>
Public Overrides NotOverridable Function GetMetadataForProperties (container As Object, containerType As Type) As IEnumerable(Of ModelMetadata)

參數

container
Object

容器。

containerType
Type

容器型別。

傳回

屬性的中繼資料。

適用於