다음을 통해 공유


MARKERDATA Structure

Specifies directional options for locating markers.

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

Syntax

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

The MARKERDATA 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 iBottomLine Bottom line of the range.
Public field iCount Number of markers contained in the range.
Public field iTopLine Top line of the range.
Public field pLayer The layer originating this information.
Public field pNext Pointer to the next MARKERDATA structure.
Public field rgfLineMarked Used by GetLineData for optimization.
Public field rgpMarker Marker instance. Pointer to the IVsTextLayerMarker interface.

Top

Remarks

This structure is used to pass information about markers that involve lines in a given range. The array is always sorted by marker priority from lowest to highest. For more information about marker priority, see MARKERTYPE.

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.TextManager.Interop Namespace