Version

Merge(ValueConstraint,ValueConstraintFlags) Method

Copies constraint settings from the source ValueConstraint to the target (i.e. the instance on which this method was invoked). Only constraint settings which have default values on the target will be assigned values from the source. Only constraint settings specified by the 'constraintFlags' flags argument will be copied. Note, this method does not copy the ValidateAsType property.
Syntax
'Declaration
 
Public Overloads Sub Merge( _
   ByVal source As ValueConstraint, _
   ByVal constraintFlags As ValueConstraintFlags _
) 
public void Merge( 
   ValueConstraint source,
   ValueConstraintFlags constraintFlags
)

Parameters

source
A ValueConstraint object which contains constraint settings to be copied.
constraintFlags
A bit flag which specifies the constraint settings to be copied.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also