CharacterHit.Equality(CharacterHit, CharacterHit) Operador

Definición

Compara dos cadenas CharacterBufferReference para ver si son iguales.Compare two CharacterBufferReference strings for equality.

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.The first instance of CharacterBufferReference to compare.

right
CharacterHit

Segunda instancia de CharacterBufferReference que se va a comparar.The second instance of CharacterBufferReference to compare.

Devoluciones

Boolean

true cuando los valores de las propiedades FirstCharacterIndex y TrailingLength son iguales en ambos objetos; de lo contrario, false.true when the values of FirstCharacterIndex and TrailingLength properties are equal for both objects; otherwise, false.

Se aplica a