IVsCompletionSetBuilder.GetBuilderItemColor Method
Returns the foreground/background color.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣告
Function GetBuilderItemColor ( _
iIndex As Integer, _
<OutAttribute> ByRef dwFGColor As UInteger, _
<OutAttribute> ByRef dwBGColor As UInteger _
) As Integer
'用途
Dim instance As IVsCompletionSetBuilder
Dim iIndex As Integer
Dim dwFGColor As UInteger
Dim dwBGColor As UInteger
Dim returnValue As Integer
returnValue = instance.GetBuilderItemColor(iIndex, _
dwFGColor, dwBGColor)
int GetBuilderItemColor(
int iIndex,
out uint dwFGColor,
out uint dwBGColor
)
int GetBuilderItemColor(
[InAttribute] int iIndex,
[OutAttribute] unsigned int% dwFGColor,
[OutAttribute] unsigned int% dwBGColor
)
abstract GetBuilderItemColor :
iIndex:int *
dwFGColor:uint32 byref *
dwBGColor:uint32 byref -> int
function GetBuilderItemColor(
iIndex : int,
dwFGColor : uint,
dwBGColor : uint
) : int
Parameters
- iIndex
Type: System.Int32
[in]
- dwFGColor
Type: System.UInt32%
[out]
- dwBGColor
Type: System.UInt32%
[out]
Return Value
Type: System.Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsCompletionSetBuilder Interface