ModelMetadata.HasValidators 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 a value that indicates if the model, or one of its properties or elements, has associated validators.
public:
virtual property Nullable<bool> HasValidators { Nullable<bool> get(); };
public virtual bool? HasValidators { get; }
member this.HasValidators : Nullable<bool>
Public Overridable ReadOnly Property HasValidators As Nullable(Of Boolean)
Property Value
Remarks
When false
, validation can be assume that the model is valid (Valid) without inspecting the object graph.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: