CharacterBufferRange.Equality 运算符

定义

比较两个 CharacterBufferRange 字符串是否相等。

public:
 static bool operator ==(System::Windows::Media::TextFormatting::CharacterBufferRange left, System::Windows::Media::TextFormatting::CharacterBufferRange right);
public static bool operator == (System.Windows.Media.TextFormatting.CharacterBufferRange left, System.Windows.Media.TextFormatting.CharacterBufferRange right);
static member ( = ) : System.Windows.Media.TextFormatting.CharacterBufferRange * System.Windows.Media.TextFormatting.CharacterBufferRange -> bool
Public Shared Operator == (left As CharacterBufferRange, right As CharacterBufferRange) As Boolean

参数

left
CharacterBufferRange

要比较的 CharacterBufferRange 的第一个实例。

right
CharacterBufferRange

要比较的 CharacterBufferRange 的第二个实例。

返回

Boolean

true 时表示指定的 CharacterBufferRange 对象相等;否则为 false

适用于