Click or drag to resize

PropertyMethodInfoValidate Method

Validates the given property value.

Namespace:  MFiles.VAF
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public bool Validate(
	PropertyEnvironment environment,
	IExecutionTrace trace,
	out bool validationResult,
	out 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: Boolean
True if the method was really executed.

Implements

IPropertyMethodInfoValidate(PropertyEnvironment, IExecutionTrace, Boolean, String)
See Also