IVsTextMarkerType::GetDefaultColors Method (array<COLORINDEX>^, array<COLORINDEX>^)
Visual Studio 2015
Returns the default foreground and background colors for a marker.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- piForeground
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::COLORINDEX>^
[out] Pointer to the default foreground color. For a list of piForeground values, see COLORINDEX.
- piBackground
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::COLORINDEX>^
[out] Pointer to the default background color. For a list of piBackground values, see COLORINDEX.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsTextMarkerType::GetDefaultColors( [out] COLORINDEX *piForeground, [out] COLORINDEX *piBackground );
Show: