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 GetDefaultColors ( _
    foreground As COLORINDEX(), _
    background As COLORINDEX() _
) As Integer Implements IVsPackageDefinedTextMarkerType.GetDefaultColors
'Usage
Dim instance As VsTextMarker
Dim foreground As COLORINDEX()
Dim background As COLORINDEX()
Dim returnValue As Integer

returnValue = CType(instance, IVsPackageDefinedTextMarkerType).GetDefaultColors(foreground, _
    background)
int IVsPackageDefinedTextMarkerType.GetDefaultColors(
    COLORINDEX[] foreground,
    COLORINDEX[] background
)
private:
virtual int GetDefaultColors(
    array<COLORINDEX>^ foreground, 
    array<COLORINDEX>^ background
) sealed = IVsPackageDefinedTextMarkerType::GetDefaultColors
private abstract GetDefaultColors : 
        foreground:COLORINDEX[] * 
        background:COLORINDEX[] -> int 
private override GetDefaultColors : 
        foreground:COLORINDEX[] * 
        background:COLORINDEX[] -> int 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • foreground
    Type: array<COLORINDEX> [] () [] []
  • background
    Type: array<COLORINDEX> [] () [] []

Return Value

Type: System..::..Int32

Implements

IVsPackageDefinedTextMarkerTypeGetDefaultColors(array<COLORINDEX>[]()[][], array<COLORINDEX>[]()[][])

See Also

Reference

VsTextMarker Class

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