共用方式為


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

適用於