Share via


. Method

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

Syntax

'Declaration
Private Function DrawGlyphWithColors ( _
    hdc As IntPtr, _
    rect As RECT(), _
    markerType As Integer, _
    markerColors As IVsTextMarkerColorSet, _
    glyphDrawFlags As UInteger, _
    lineHeight As Integer _
) As Integer Implements IVsPackageDefinedTextMarkerType.DrawGlyphWithColors
'Usage
Dim instance As VsTextMarker
Dim hdc As IntPtr
Dim rect As RECT()
Dim markerType As Integer
Dim markerColors As IVsTextMarkerColorSet
Dim glyphDrawFlags As UInteger
Dim lineHeight As Integer
Dim returnValue As Integer

returnValue = CType(instance, IVsPackageDefinedTextMarkerType).DrawGlyphWithColors(hdc, _
    rect, markerType, markerColors, glyphDrawFlags, _
    lineHeight)
int IVsPackageDefinedTextMarkerType.DrawGlyphWithColors(
    IntPtr hdc,
    RECT[] rect,
    int markerType,
    IVsTextMarkerColorSet markerColors,
    uint glyphDrawFlags,
    int lineHeight
)
private:
virtual int DrawGlyphWithColors(
    IntPtr hdc, 
    array<RECT>^ rect, 
    int markerType, 
    IVsTextMarkerColorSet^ markerColors, 
    unsigned int glyphDrawFlags, 
    int lineHeight
) sealed = IVsPackageDefinedTextMarkerType::DrawGlyphWithColors
private abstract DrawGlyphWithColors : 
        hdc:IntPtr * 
        rect:RECT[] * 
        markerType:int * 
        markerColors:IVsTextMarkerColorSet * 
        glyphDrawFlags:uint32 * 
        lineHeight:int -> int 
private override DrawGlyphWithColors : 
        hdc:IntPtr * 
        rect:RECT[] * 
        markerType:int * 
        markerColors:IVsTextMarkerColorSet * 
        glyphDrawFlags:uint32 * 
        lineHeight:int -> int 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • rect
    Type: array<RECT> [] () [] []
  • markerColors
    Type: IVsTextMarkerColorSet

Return Value

Type: System..::..Int32

Implements

IVsPackageDefinedTextMarkerTypeDrawGlyphWithColors(IntPtr, array<RECT>[]()[][], Int32, IVsTextMarkerColorSet, UInt32, Int32)

See Also

Reference

VsTextMarker Class

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