Dela via


VsTextPos Structure

Keeps track of the position of break points, current IP location, and cursor position for quick watch, tooltip, and datatips.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Public Structure VsTextPos
public struct VsTextPos
public value class VsTextPos
[<Sealed>]
type VsTextPos =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The VsTextPos type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field itemid Specifies the item id.
Public field pHier Specifies the hierarchy.
Public field pTextBuf Specifies the text buffer.
Public field span Specifies the span of text.

Top

Remarks

COM Signature

From vsshell.idl:

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace