共用方式為


DefaultModelMetadata.ValidationMetadata 屬性

定義

ValidationMetadata取得目前實例的 。

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

屬性值

備註

如有必要,存取此屬性將會填入 ValidationMetadata

適用於