op_Equality

FontWeight Equality operator

检查两个“FontWeight”值是否相等

public static bool operator ==(FontWeight first, FontWeight second)
范围 类型 描述
first FontWeight 要检查的第一个值
second FontWeight 要检查的第二个值

返回值

如果相等则为真,否则为假

也可以看看