CharacterBufferReference.Equality 运算符

定义

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

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

参数

left
CharacterBufferReference

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

right
CharacterBufferReference

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

返回

Boolean

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

适用于

另请参阅