Skip to content

Latest commit

 

History

History
72 lines (59 loc) · 2.18 KB

doccontext-compare.md

File metadata and controls

72 lines (59 loc) · 2.18 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords author ms.author manager ms.subservice dev_langs
Specifies the criteria for comparing two document contexts.
DOCCONTEXT_COMPARE
11/04/2016
reference
DOCCONTEXT_COMPARE
DOCCONTEXT_COMPARE enumeration
maiak
maiak
mijacobs
debug-diagnostics
CPP
CSharp

DOCCONTEXT_COMPARE

Specifies the criteria for comparing two document contexts.

Syntax

enum enum_DOCCONTEXT_COMPARE {
    DOCCONTEXT_EQUAL         = 0x0001,
    DOCCONTEXT_LESS_THAN     = 0x0002,
    DOCCONTEXT_GREATER_THAN  = 0x0003,
    DOCCONTEXT_SAME_DOCUMENT = 0x0004
};
enum enum_DOCCONTEXT_COMPARE {
    DOCCONTEXT_EQUAL         = 0x0001,
    DOCCONTEXT_LESS_THAN     = 0x0002,
    DOCCONTEXT_GREATER_THAN  = 0x0003,
    DOCCONTEXT_SAME_DOCUMENT = 0x0004
};
typedef DWORD DOCCONTEXT_COMPARE;

Fields

DOCCONTEXT_EQUAL
Find the first document context in the list that is equal to the target document context.

DOCCONTEXT_LESS_THAN
Find the first document context in the list that is less than the target document context.

DOCCONTEXT_GREATER_THAN
Find the first document context in the list that is greater than the target document context.

DOCCONTEXT_SAME_DOCUMENT
Find the first document context in the list that is in the same document as the target document context.

Remarks

Passed as an argument to the Compare method.

These values are used to specify a comparison criteria for finding the first document context in a list. A document context is given a list of document contexts to compare itself against through the IDebugDocumentContext2::Compare method. The first document context in the list for which the comparison operator is true is then returned.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also