Condividi tramite


IVsCompletionSetBuilder.GetBuilderItemColor(Int32, UInt32, UInt32) Method

Definition

Gets the foreground/background color.

public:
 int GetBuilderItemColor(int iIndex, [Runtime::InteropServices::Out] System::UInt32 % dwFGColor, [Runtime::InteropServices::Out] System::UInt32 % dwBGColor);
int GetBuilderItemColor(int iIndex, [Runtime::InteropServices::Out] unsigned int & dwFGColor, [Runtime::InteropServices::Out] unsigned int & dwBGColor);
public int GetBuilderItemColor (int iIndex, out uint dwFGColor, out uint dwBGColor);
abstract member GetBuilderItemColor : int * uint32 * uint32 -> int
Public Function GetBuilderItemColor (iIndex As Integer, ByRef dwFGColor As UInteger, ByRef dwBGColor As UInteger) As Integer

Parameters

iIndex
Int32

[in] The index of the completion set.

dwFGColor
UInt32

[out] The foreground color.

dwBGColor
UInt32

[out] The background color.

Returns

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

Remarks

COM Signature

From textmgr2.idl:

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

Applies to