Dela via


ModelPropertyCollection Class

Definition

A read-only collection of ModelMetadata objects which represent model properties.

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)
Inheritance
ModelPropertyCollection

Constructors

ModelPropertyCollection(IEnumerable<ModelMetadata>)

Creates a new ModelPropertyCollection.

Properties

Item[String]

Gets a ModelMetadata instance for the property corresponding to propertyName.

Applies to