API Reference > OdDAI Namespace > Classes > ValidationTask Class > ValidationTask Methods > ValidationTask::initializeValidation Method
ValidationTask::initializeValidation Method
Syntax
C++
virtual OdDAI::Logical initializeValidation(OdSharedPtr<InvalidValidationParamsBase>& invalidParams);
Parameters 
Description 
OdSharedPtr<InvalidValidationParamsBase>& invalidParams 
[out] A struct which contains elements with validation problems.  

OdDAI::Logical::True (by default) if validation initialization is successful; returns OdDAI::Logical::False if validation initialization failed; otherwise returns OdDAI::Logical::Unknown.

Virtual function which is called by Validator before validation process starts.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.