編輯

共用方式為


FamilyTypeface.Equals Method

Definition

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

o
Object

The Object value that represents the typeface to compare.

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