ToleranceRectangle Structure

ToleranceRectangle structure.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Structure ToleranceRectangle
public struct ToleranceRectangle
public value class ToleranceRectangle
[<Sealed>]
type ToleranceRectangle =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The ToleranceRectangle type exposes the following members.

Properties

  Name Description
Public property Difference Color difference of the tolerance.
Public property Rectangle Rectangle region for the tolerance.

Top

Methods

  Name Description
Public method Equals Compares the current object with another ToleranceRectangle object. (Overrides ValueType.Equals(Object).)
Public method GetHashCode Overrides object.GetHashCode. (Overrides ValueType.GetHashCode.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the string representation of the ToleranceRectangle. (Overrides ValueType.ToString.)

Top

Operators

  Name Description
Public operatorStatic member Equality Operator overload for == operator.
Public operatorStatic member Inequality Operator overload for == operator.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITesting Namespace