Thickness.Inequality(Thickness, Thickness) Operator

Definition

Thickness 구조체가 다른지 여부를 비교합니다.Compares two Thickness structures for inequality.

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 op_Inequality : System.Windows.Thickness * System.Windows.Thickness -> bool
Public Shared Operator != (t1 As Thickness, t2 As Thickness) As Boolean

Parameters

t1
Thickness

비교할 첫 번째 구조체입니다.The first structure to compare.

t2
Thickness

비교할 다른 구조체입니다.The other structure to compare.

Returns

Boolean

Thickness 클래스의 두 인스턴스가 서로 다르면 true이고, 그렇지 않으면 false입니다.true if the two instances of Thickness are not equal; otherwise, false.

Remarks

같음 또는 같지 않음을 논리적으로 동일한 두 부동 소수점 값에 대해 테스트 값을 연산에 따라 누적 수는 전체 자릿수 오류로 인해 실패할 수 있습니다.Testing for equality or inequality on two floating-point values that are logically equivalent might fail because of precision errors that can accumulate as the values are operated on.

Applies to