編輯

共用方式為


CharacterBufferRange.Equals Method

Definition

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

Overloads

Equals(Object)

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

Equals(CharacterBufferRange)

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

Equals(Object)

Determines whether the specified object is equal to the current CharacterBufferRange 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 CharacterBufferRange object.

Returns

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

Remarks

Two CharacterBufferRange objects are equal if the CharacterBufferReference properties are equal.

Applies to

Equals(CharacterBufferRange)

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

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

Parameters

value
CharacterBufferRange

The CharacterBufferRange to compare with the current CharacterBufferRange object.

Returns

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

Implements

Remarks

Two CharacterBufferRange objects are equal if the CharacterBufferReference properties are equal.

Applies to