CharacterHit.Inequality Operator (CharacterHit, CharacterHit)

 

Compare two CharacterBufferReference strings for inequality.

Namespace:   System.Windows.Media.TextFormatting
Assembly:  PresentationCore (in PresentationCore.dll)

public static bool operator !=(
	CharacterHit left,
	CharacterHit right
)

Parameters

left
Type: System.Windows.Media.TextFormatting.CharacterHit

The first instance of CharacterBufferReference to compare.

right
Type: System.Windows.Media.TextFormatting.CharacterHit

The second instance of CharacterBufferReference to compare.

Return Value

Type: System.Boolean

false when the values of FirstCharacterIndex and TrailingLength properties are equal for both objects; otherwise, true.

.NET Framework
Available since 3.0
Return to top
Show: