IVsCompletionSetBuilder::GetBuilderItemColor Method (Int32, UInt32, UInt32)

 

Gets the foreground/background color.

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

int GetBuilderItemColor(
	int iIndex,
	[OutAttribute] unsigned int% dwFGColor,
	[OutAttribute] unsigned int% dwBGColor
)

Parameters

iIndex
Type: System::Int32

[in] The index of the completion set.

dwFGColor
Type: System::UInt32

[out] The foreground color.

dwBGColor
Type: System::UInt32

[out] The background color.

Return Value

Type: System::Int32

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

From textmgr2.idl:

HRESULT IVsCompletionSetBuilder::GetBuilderItemColor(
   [in] long iIndex,
   [out] COLORREF *dwFGColor,
   [out] COLORREF *dwBGColor
);
Return to top
Show: