次の方法で共有


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

Return Value

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

.NET Framework Security

See Also

Reference

SnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace