Dela via


DefaultModelMetadata.ValidationMetadata Property

Definition

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.

Applies to