Share via


VsTextMarker Constructor (UInt32, , , , , UInt32, UInt32, Int32, String, String, String)

Default public constructor

Namespace:  Microsoft.VisualStudio.Data.Tools.SqlEditor.VSIntegration
Assembly:  Microsoft.VisualStudio.Data.Tools.SqlEditor (in Microsoft.VisualStudio.Data.Tools.SqlEditor.dll)

Syntax

'Declaration
Public Sub New ( _
    visualFlags As UInteger, _
    foreground As COLORINDEX, _
    background As COLORINDEX, _
    lineColor As COLORINDEX, _
    lineStyle As LINESTYLE, _
    fontFlags As UInteger, _
    behaviorFlag As UInteger, _
    priorityIndex As Integer, _
    nameLocalized As String, _
    description As String, _
    nameEnglish As String _
)
'Usage
Dim visualFlags As UInteger
Dim foreground As COLORINDEX
Dim background As COLORINDEX
Dim lineColor As COLORINDEX
Dim lineStyle As LINESTYLE
Dim fontFlags As UInteger
Dim behaviorFlag As UInteger
Dim priorityIndex As Integer
Dim nameLocalized As String
Dim description As String
Dim nameEnglish As String

Dim instance As New VsTextMarker(visualFlags, _
    foreground, background, lineColor, _
    lineStyle, fontFlags, behaviorFlag, _
    priorityIndex, nameLocalized, description, _
    nameEnglish)
public VsTextMarker(
    uint visualFlags,
    COLORINDEX foreground,
    COLORINDEX background,
    COLORINDEX lineColor,
    LINESTYLE lineStyle,
    uint fontFlags,
    uint behaviorFlag,
    int priorityIndex,
    string nameLocalized,
    string description,
    string nameEnglish
)
public:
VsTextMarker(
    unsigned int visualFlags, 
    COLORINDEX foreground, 
    COLORINDEX background, 
    COLORINDEX lineColor, 
    LINESTYLE lineStyle, 
    unsigned int fontFlags, 
    unsigned int behaviorFlag, 
    int priorityIndex, 
    String^ nameLocalized, 
    String^ description, 
    String^ nameEnglish
)
new : 
        visualFlags:uint32 * 
        foreground:COLORINDEX * 
        background:COLORINDEX * 
        lineColor:COLORINDEX * 
        lineStyle:LINESTYLE * 
        fontFlags:uint32 * 
        behaviorFlag:uint32 * 
        priorityIndex:int * 
        nameLocalized:string * 
        description:string * 
        nameEnglish:string -> VsTextMarker
public function VsTextMarker(
    visualFlags : uint, 
    foreground : COLORINDEX, 
    background : COLORINDEX, 
    lineColor : COLORINDEX, 
    lineStyle : LINESTYLE, 
    fontFlags : uint, 
    behaviorFlag : uint, 
    priorityIndex : int, 
    nameLocalized : String, 
    description : String, 
    nameEnglish : String
)

Parameters

  • foreground
    Type: COLORINDEX
  • background
    Type: COLORINDEX
  • lineColor
    Type: COLORINDEX
  • lineStyle
    Type: LINESTYLE

See Also

Reference

VsTextMarker Class

VsTextMarker Overload

Microsoft.VisualStudio.Data.Tools.SqlEditor.VSIntegration Namespace