共用方式為


CharacterHit.Inequality(CharacterHit, CharacterHit) 運算子

定義

比較兩個 CharacterBufferReference 字串是否不相等。

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

參數

left
CharacterHit

要比較的第一個 CharacterBufferReference 執行個體。

right
CharacterHit

要比較的第二個 CharacterBufferReference 執行個體。

傳回

Boolean

當兩個物件之 FirstCharacterIndexTrailingLength 屬性的值相等時,則為 false,否則為 true

適用於