Share via


CaretPosition.Inequality Operator

Determines whether two CaretPosition objects are different.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    caretPosition1 As CaretPosition, _
    caretPosition2 As CaretPosition _
) As Boolean
public static bool operator !=(
    CaretPosition caretPosition1,
    CaretPosition caretPosition2
)
public:
static bool operator !=(
    CaretPosition caretPosition1, 
    CaretPosition caretPosition2
)
static let inline (<>)
        caretPosition1:CaretPosition * 
        caretPosition2:CaretPosition  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if the two objects are different, otherwise false.

.NET Framework Security

See Also

Reference

CaretPosition Structure

Microsoft.VisualStudio.Text.Editor Namespace