ModelMetadataProvider.GetMetadataForProperties(Object, Type) Yöntem
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Modelin ModelMetadata tüm özellikleri için bir nesnesi döndürür.
public:
abstract System::Collections::Generic::IEnumerable<System::Web::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(System::Object ^ container, Type ^ containerType);
C#
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)
- container
- Object
Kapsayıcı nesnesi.
- containerType
- Type
Kapsayıcı nesnesinin türü.
ModelMetadata nesneleri topluluğu.
Ürün | Sürümler |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |