Bagikan melalui


ModelMetadataProvider.GetMetadataForProperties(Object, Type) Metode

Definisi

Mengembalikan ModelMetadata objek untuk semua properti model.

public:
 abstract System::Collections::Generic::IEnumerable<System::Web::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(System::Object ^ container, Type ^ containerType);
public abstract System.Collections.Generic.IEnumerable<System.Web.ModelBinding.ModelMetadata> GetMetadataForProperties (object container, Type containerType);
abstract member GetMetadataForProperties : obj * Type -> seq<System.Web.ModelBinding.ModelMetadata>
Public MustOverride Function GetMetadataForProperties (container As Object, containerType As Type) As IEnumerable(Of ModelMetadata)

Parameter

container
Object

Objek kontainer.

containerType
Type

Jenis objek kontainer.

Mengembalikan

Koleksi objek ModelMetadata.

Berlaku untuk