Bagikan melalui


ModelPropertyCollection Kelas

Definisi

Kumpulan ModelMetadata objek baca-saja yang mewakili properti model.

public ref class ModelPropertyCollection : System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^>
public class ModelPropertyCollection : System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata>
type ModelPropertyCollection = class
    inherit ReadOnlyCollection<ModelMetadata>
Public Class ModelPropertyCollection
Inherits ReadOnlyCollection(Of ModelMetadata)
Warisan
ModelPropertyCollection

Konstruktor

ModelPropertyCollection(IEnumerable<ModelMetadata>)

Membuat baru ModelPropertyCollection.

Properti

Item[String]

Mendapatkan instans ModelMetadata untuk properti yang sesuai dengan propertyName.

Berlaku untuk