IPropertyMethodInfoValidate Method |
Validates the given property value.
Namespace:
MFiles.VAF
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxbool Validate(
PropertyEnvironment environment,
IExecutionTrace trace,
out bool validationResult,
out string message
)
Function Validate (
environment As PropertyEnvironment,
trace As IExecutionTrace,
<OutAttribute> ByRef validationResult As Boolean,
<OutAttribute> ByRef message As String
) As Boolean
bool Validate(
PropertyEnvironment^ environment,
IExecutionTrace^ trace,
[OutAttribute] bool% validationResult,
[OutAttribute] String^% message
)
Parameters
- environment
- Type: MFiles.VAF.CommonPropertyEnvironment
The environment parameters. - trace
- Type: MFiles.VAFIExecutionTrace
The execution tracer object for recording the operation starting end ending. - validationResult
- Type: SystemBoolean
Output parameter for the validation result. True if the value was valid. - message
- Type: SystemString
Output parameter for the error message if the value was not valid.
Return Value
Type:
BooleanTrue if the method was really executed.
See Also