다음을 통해 공유


VirtualSnapshotSpan.Equality Operator

Determines whether two VirtualSnapshotSpan objects are the same.

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

Syntax

'Declaration
Public Shared Operator = ( _
    left As VirtualSnapshotSpan, _
    right As VirtualSnapshotSpan _
) As Boolean
public static bool operator ==(
    VirtualSnapshotSpan left,
    VirtualSnapshotSpan right
)
public:
static bool operator ==(
    VirtualSnapshotSpan left, 
    VirtualSnapshotSpan right
)
static let inline(=)
        left:VirtualSnapshotSpan * 
        right:VirtualSnapshotSpan  : bool
JScript does not support overloaded operators.

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

VirtualSnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace