ColorDifference Constructor
Initializes a new instance of the ColorDifference class, using values of zero, which indicates zero tolerance.
Alpha is set to 255, which indicates maximum tolerance for transparency.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Sub New
public ColorDifference()
public:
ColorDifference()
new : unit -> ColorDifference
public function ColorDifference()
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.