ComplexModel.PropertyMetadata 属性

定义

获取模型属性的元数据。

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Web::ModelBinding::ModelMetadata ^> ^ PropertyMetadata { System::Collections::ObjectModel::ReadOnlyCollection<System::Web::ModelBinding::ModelMetadata ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Web.ModelBinding.ModelMetadata> PropertyMetadata { get; }
member this.PropertyMetadata : System.Collections.ObjectModel.ReadOnlyCollection<System.Web.ModelBinding.ModelMetadata>
Public ReadOnly Property PropertyMetadata As ReadOnlyCollection(Of ModelMetadata)

属性值

ReadOnlyCollection<ModelMetadata>

模型属性的元数据。

适用于