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 | |
|---|---|---|
| .gif) | Difference | Color difference of the tolerance. | 
| .gif) | Rectangle | Rectangle region for the tolerance. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Compares the current object with another ToleranceRectangle object. (Overrides ValueType.Equals(Object).) | 
| .gif) | GetHashCode | Overrides object.GetHashCode. (Overrides ValueType.GetHashCode.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | ToString | Returns the string representation of the ToleranceRectangle. (Overrides ValueType.ToString.) | 
Top
Operators
| Name | Description | |
|---|---|---|
| .gif) .gif) | Equality | Operator overload for == operator. | 
| .gif) .gif) | 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.