Compartilhar via


CharacterHit.Inequality(CharacterHit, CharacterHit) Operador

Definição

Compare duas cadeias de caracteres de CharacterBufferReference quanto à desigualdade.

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

Parâmetros

left
CharacterHit

A primeira instância de CharacterBufferReference para comparar.

right
CharacterHit

A segunda instância de CharacterBufferReference para comparar.

Retornos

Boolean

false quando os valores das propriedades FirstCharacterIndex e TrailingLength são iguais para os dois objetos; caso contrário, true.

Aplica-se a