Compartilhar via


DOCCONTEXT_COMPARE

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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  
};  
typedef DWORD DOCCONTEXT_COMPARE;  
enum enum_DOCCONTEXT_COMPARE {   
   DOCCONTEXT_EQUAL         = 0x0001,  
   DOCCONTEXT_LESS_THAN     = 0x0002,  
   DOCCONTEXT_GREATER_THAN  = 0x0003,  
   DOCCONTEXT_SAME_DOCUMENT = 0x0004  
};  

Members

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

Enumerations
Compare