IVsTextMarkerType::GetDefaultLineStyle Method (array<COLORINDEX>^, array<LINESTYLE>^)

 

Returns the default line attributes for a custom marker type.

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

int GetDefaultLineStyle(
	array<COLORINDEX>^ piLineColor,
	array<LINESTYLE>^ piLineIndex
)

Parameters

piLineColor
Type: array<Microsoft.VisualStudio.TextManager.Interop::COLORINDEX>^

[out] Pointer to the default line color. For a list of piLineColor values, see COLORINDEX.

piLineIndex
Type: array<Microsoft.VisualStudio.TextManager.Interop::LINESTYLE>^

[out] Pointer to the default line style. For a list of piLineIndex values, see LINESTYLE.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsTextMarkerType::GetDefaultLineStyle(
   [out] COLORINDEX *piLineColor,
   [out] LINESTYLE *piLineIndex
);
Return to top
Show: