.NET Framework Class Library
ICustomControl.ValidateData Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > ICustomControl Interface > ICustomControl Methods > .NET Framework Class Library |
ValidateData method is invoked in Data Input PRE-Ok execution to implement related data check. The OK execution continues only if all registered controls return TRUE in their data validation. When a registered control returns FALSE, the validation and OK-execution are interrupted and the involved tab is shown
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Function ValidateData ( _ pVal As Application, _ |
C# |
|---|
bool ValidateData( Application pVal, |
Visual C++ |
|---|
bool ValidateData( Application^ pVal, |
JavaScript |
|---|
function validateData(pVal, outputMsg); |
Parameters
pVal
Type: MwPDMApi.Application
Application object
outputMsg
Type: System.String
Output. The message to be prompted (if not empty) by the Application when ValidateData returns FALSE
Return Value
TRUE if validation is ok, FALSE otherwise to break validate/OK execution
Remarks
See Also