Modifier

Partager via


CharacterHit.Equals Method

Definition

Determines whether the specified object is equal to the current CharacterBufferReference object.

Overloads

Equals(Object)

Determines whether the specified object is equal to the current CharacterBufferReference object.

Equals(CharacterHit)

Determines whether the CharacterBufferReference is equal to the current CharacterBufferReference object.

Equals(Object)

Determines whether the specified object is equal to the current CharacterBufferReference object.

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

The object to compare with the current CharacterBufferReference object.

Returns

true if obj is equal to the current CharacterBufferReference object; otherwise, false. If obj is not a CharacterBufferReference object, false is returned.

Applies to

Equals(CharacterHit)

Determines whether the CharacterBufferReference is equal to the current CharacterBufferReference object.

public:
 virtual bool Equals(System::Windows::Media::TextFormatting::CharacterHit obj);
public bool Equals (System.Windows.Media.TextFormatting.CharacterHit obj);
override this.Equals : System.Windows.Media.TextFormatting.CharacterHit -> bool
Public Function Equals (obj As CharacterHit) As Boolean

Parameters

obj
CharacterHit

The CharacterBufferReference to compare with the current CharacterBufferReference object.

Returns

true if obj is equal to the current CharacterBufferReference object; otherwise, false.

Implements

Applies to