DefaultModelMetadata.GetMetadataForProperties(Type) 方法

定義

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

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

參數

modelType
Type

Type

傳回

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

適用於