共用方式為


SnapshotPoint.Inequality Operator

Determines whether this snapshot point is different from a second snapshot point.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣告
Public Shared Operator <> ( _
    left As SnapshotPoint, _
    right As SnapshotPoint _
) As Boolean
public static bool operator !=(
    SnapshotPoint left,
    SnapshotPoint right
)
public:
static bool operator !=(
    SnapshotPoint left, 
    SnapshotPoint right
)
static let inline (<>)
        left:SnapshotPoint * 
        right:SnapshotPoint  : 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

SnapshotPoint Structure

Microsoft.VisualStudio.Text Namespace