FamilyTypeface.Equals 方法

定義

比較兩個字型系列字樣是否相等。

多載

Equals(Object)

比較兩個字型系列字樣是否相等。

Equals(FamilyTypeface)

比較兩個字型系列字樣是否相等。

Equals(Object)

比較兩個字型系列字樣是否相等。

public:
 override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean

參數

o
Object

Object 值,表示要比較的字樣。

傳回

Boolean

如果 typeface 不是 null 且擁有與這個字樣相同的屬性則為 true,否則為 false

適用於

Equals(FamilyTypeface)

比較兩個字型系列字樣是否相等。

public:
 bool Equals(System::Windows::Media::FamilyTypeface ^ typeface);
public bool Equals (System.Windows.Media.FamilyTypeface typeface);
override this.Equals : System.Windows.Media.FamilyTypeface -> bool
Public Function Equals (typeface As FamilyTypeface) As Boolean

參數

typeface
FamilyTypeface

要比較的 FamilyTypeface 值。

傳回

Boolean

如果 typeface 不是 null 且擁有與這個字型系列字樣相同的屬性則為 true,否則為 false

適用於