共用方式為


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

適用於

另請參閱