SnapshotSpan.Inequality Operator
Determines whether two snapshot spans are different.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'宣言
Public Shared Operator <> ( _
left As SnapshotSpan, _
right As SnapshotSpan _
) As Boolean
public static bool operator !=(
SnapshotSpan left,
SnapshotSpan right
)
public:
static bool operator !=(
SnapshotSpan left,
SnapshotSpan right
)
static let inline (<>)
left:SnapshotSpan *
right:SnapshotSpan : bool
JScript does not support overloaded operators.
Parameters
- left
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The left-hand snapshot span.
- right
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The right-hand snapshot span.
Return Value
Type: System.Boolean
true if the objects are different, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.