FamilyTypeface.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two font family typefaces for equality.
Overloads
Equals(Object) |
Compares two font family typefaces for equality. |
Equals(FamilyTypeface) |
Compares two font family typefaces for equality. |
Equals(Object)
Compares two font family typefaces for equality.
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
Parameters
Returns
true
if typeface
is not null and has the same properties as this typeface; otherwise, false
.
Applies to
Equals(FamilyTypeface)
Compares two font family typefaces for equality.
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
Parameters
- typeface
- FamilyTypeface
The FamilyTypeface value to compare.
Returns
true
if typeface
is not null and has the same properties as this font family typeface; otherwise, false
.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈