ModelMetadataProvider.GetMetadataForProperties(Type) 方法

定義

提供描述 之屬性的 Type 中繼資料。

public:
 abstract System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(Type ^ modelType);
public abstract System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata> GetMetadataForProperties (Type modelType);
abstract member GetMetadataForProperties : Type -> seq<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata>
Public MustOverride Function GetMetadataForProperties (modelType As Type) As IEnumerable(Of ModelMetadata)

參數

modelType
Type

Type

傳回

一組 ModelMetadata 實例,描述 的屬性 Type

實作

適用於