DefaultModelMetadata.ValidationMetadata Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ValidationMetadata for the current instance.
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
Property Value
Remarks
Accessing this property will populate the ValidationMetadata if necessary.