Thickness.Equality(Thickness, Thickness) 연산자

정의

Thickness 구조체의 값을 같음으로 비교합니다.

public:
 static bool operator ==(System::Windows::Thickness t1, System::Windows::Thickness t2);
public static bool operator ==(System.Windows.Thickness t1, System.Windows.Thickness t2);
static member ( = ) : System.Windows.Thickness * System.Windows.Thickness -> bool
Public Shared Operator == (t1 As Thickness, t2 As Thickness) As Boolean

매개 변수

t1
Thickness

비교할 첫 번째 구조체입니다.

t2
Thickness

비교할 다른 구조체입니다.

반품

두 인스턴스가 같으면 이고, 그렇지 않으면 .입니다.

설명

논리적으로 동등한 두 부동 소수점 값에 대한 같음 테스트는 값이 작동할 때 누적될 수 있는 정밀도 오류로 인해 실패할 수 있습니다.

적용 대상