Editar

Partilhar via


FontUnit.Equals(Object) Method

Definition

Determines whether the specified Object is equivalent to the instance of the FontUnit class that this method is called from.

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

Parameters

obj
Object

A Object that contains the object to compare to this instance.

Returns

true if the specified Object is equivalent to the instance of the FontUnit class that this method is called from; otherwise, false.

Remarks

Use the Equals method to determine whether the specified System.Object is equivalent to the instance of the FontUnit class that this method is called from. For the specified System.Object to be equivalent, the object must be a FontUnit that contains the same values for the Type and Unit properties as the instance of the FontUnit class that this method is called from.

Applies to

See also