共用方式為


ModelValidationContextBase.ModelMetadata 屬性

定義

取得 ModelMetadata

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ ModelMetadata { Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ get(); };
public Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata ModelMetadata { get; }
member this.ModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
Public ReadOnly Property ModelMetadata As ModelMetadata

屬性值

適用於