IMetadataBasedModelValidatorProvider.HasValidators Method
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 determines if the IModelValidatorProvider can
produce any validators given the modelType
and modelType
.
public:
bool HasValidators(Type ^ modelType, System::Collections::Generic::IList<System::Object ^> ^ validatorMetadata);
public bool HasValidators (Type modelType, System.Collections.Generic.IList<object> validatorMetadata);
abstract member HasValidators : Type * System.Collections.Generic.IList<obj> -> bool
Public Function HasValidators (modelType As Type, validatorMetadata As IList(Of Object)) As Boolean
Parameters
Returns
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: