FontWeight.Equality(FontWeight, FontWeight) 연산자

정의

FontWeight의 두 인스턴스를 비교하여 같은지 여부를 확인합니다.Compares two instances of FontWeight for equality.

public:
 static bool operator ==(System::Windows::FontWeight left, System::Windows::FontWeight right);
public static bool operator == (System.Windows.FontWeight left, System.Windows.FontWeight right);
static member ( = ) : System.Windows.FontWeight * System.Windows.FontWeight -> bool
Public Shared Operator == (left As FontWeight, right As FontWeight) As Boolean

매개 변수

left
FontWeight

비교할 첫 번째 FontWeight 인스턴스입니다.The first instance of FontWeight to compare.

right
FontWeight

비교할 두 번째 FontWeight 인스턴스입니다.The second instance of FontWeight to compare.

반환

FontWeight의 인스턴스가 서로 같으면 true이고, 그렇지 않으면 false입니다.true if the instances of FontWeight are equal; otherwise, false.

적용 대상