FontWeight.Equals 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定对象 FontWeight 是否等于指定的对象。
重载
| 名称 | 说明 |
|---|---|
| Equals(Object) |
确定当前 FontWeight 对象是否等于指定的对象。 |
| Equals(FontWeight) |
确定当前 FontWeight 对象是否等于指定的 FontWeight 对象。 |
Equals(Object)
确定当前 FontWeight 对象是否等于指定的对象。
public:
override bool Equals(System::Object ^ obj);
public override bool Equals(object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
参数
返回
true 如果两个实例相等,则为 ;否则,为 false.
适用于
Equals(FontWeight)
确定当前 FontWeight 对象是否等于指定的 FontWeight 对象。
public:
bool Equals(System::Windows::FontWeight obj);
public bool Equals(System.Windows.FontWeight obj);
override this.Equals : System.Windows.FontWeight -> bool
Public Function Equals (obj As FontWeight) As Boolean
参数
- obj
- FontWeight
要比较相等的 FontWeight 实例。
返回
true 如果两个实例相等,则为 ;否则,为 false.