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
.