다음을 통해 공유


SnapshotPoint.GreaterThan 연산자

한 스냅숏 지점의 위치가 두 번째 스냅숏 지점의 위치보다 큰지 여부를 확인합니다.

네임스페이스:  Microsoft.VisualStudio.Text
어셈블리:  Microsoft.VisualStudio.Text.Data(Microsoft.VisualStudio.Text.Data.dll)

구문

‘선언
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에서는 오버로드된 연산자를 지원하지 않습니다.

매개 변수

반환 값

형식: Boolean
첫 번째 위치가 두 번째 위치보다 크면 true이고, 그렇지 않으면 false입니다.

예외

예외 조건
ArgumentException

두 동일한 스냅샷에 속해 있지 않습니다.

.NET Framework 보안

참고 항목

참조

SnapshotPoint 구조체

Microsoft.VisualStudio.Text 네임스페이스