CharacterHit.Equality(CharacterHit, CharacterHit) Operatore

Definizione

Confronta due stringhe CharacterBufferReference per verificarne l'uguaglianza.

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

Parametri

left
CharacterHit

Prima istanza dell'oggetto CharacterBufferReference da confrontare.

right
CharacterHit

Seconda istanza dell'oggetto CharacterBufferReference da confrontare.

Restituisce

true se i valori delle proprietà FirstCharacterIndex e TrailingLength sono uguali per entrambi gli oggetti; in caso contrario, false.

Si applica a