Struktura ToleranceRectangle
Struktura ToleranceRectangle.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITesting
Zestaw: Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)
Składnia
'Deklaracja
Public Structure ToleranceRectangle
public struct ToleranceRectangle
public value class ToleranceRectangle
[<Sealed>]
type ToleranceRectangle = struct end
Język JScript obsługuje używanie struktur, ale nie obsługuje deklarowania nowych.
Typ ToleranceRectangle uwidacznia następujące elementy członkowskie.
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Difference | Różnica kolorów tolerancji. |
![]() |
Rectangle | Prostokąt region dla tolerancji. |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
Equals | Porównuje bieżący obiekt z innym obiektem ToleranceRectangle. (Zastępuje ValueType.Equals(Object)). |
![]() |
GetHashCode | Obiekt nadpisania.GetHashCode. (Zastępuje ValueType.GetHashCode). |
![]() |
GetType | Gets the Type of the current instance. (Odziedziczone z Object). |
![]() |
ToString | Zwraca ciąg znaków reprezentujący ToleranceRectangle. (Zastępuje ValueType.ToString). |
Początek
Operatory
Nazwa | Opis | |
---|---|---|
![]() ![]() |
Equality | Przeciążenie operatora dla == operatora. |
![]() ![]() |
Inequality | Przeciążenie operatora dla == operatora. |
Początek
Bezpieczeństwo wątku
Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.