CharacterHit.Equality(CharacterHit, CharacterHit) Operador

Definición

Compara dos cadenas CharacterBufferReference para ver si son iguales.

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 ( = ) : 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

Primera instancia de CharacterBufferReference que se va a comparar.

right
CharacterHit

Segunda instancia de CharacterBufferReference que se va a comparar.

Devoluciones

true cuando los valores de las propiedades FirstCharacterIndex y TrailingLength son iguales en ambos objetos; de lo contrario, false.

Se aplica a