共用方式為


TEXT_POSITION

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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

Describes the line and column location in the given text.

Syntax

typedef struct _tagTEXT_POSITION { 
   DWORD dwLine;
   DWORD dwColumn;
} TEXT_POSITION;
public struct TEXT_POSITION { 
   public uint dwLine;
   public uint dwColumn;
};

Members

dwLine
Index of line in source file.

dwColumn
Character offset into line.

Remarks

This structure is used in the CONTEXT_INFO and DisassemblyData structures.

This structure is filled in by a call to the following methods:

This structure is passed as a parameter to the following methods:

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also