共用方式為


IVsUIShell.GetVSSysColor Method

This method is deprecated. Use GetVSSysColorEx instead.

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

Syntax

'宣告
Function GetVSSysColor ( _
    dwSysColIndex As VSSYSCOLOR, _
    <OutAttribute> ByRef pdwRGBval As UInteger _
) As Integer
'用途
Dim instance As IVsUIShell
Dim dwSysColIndex As VSSYSCOLOR
Dim pdwRGBval As UInteger
Dim returnValue As Integer

returnValue = instance.GetVSSysColor(dwSysColIndex, _
    pdwRGBval)
int GetVSSysColor(
    VSSYSCOLOR dwSysColIndex,
    out uint pdwRGBval
)
int GetVSSysColor(
    [InAttribute] VSSYSCOLOR dwSysColIndex, 
    [OutAttribute] unsigned int% pdwRGBval
)
abstract GetVSSysColor : 
        dwSysColIndex:VSSYSCOLOR * 
        pdwRGBval:uint32 byref -> int 
function GetVSSysColor(
    dwSysColIndex : VSSYSCOLOR, 
    pdwRGBval : uint
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsUIShell Interface

IVsUIShell Members

Microsoft.VisualStudio.Shell.Interop Namespace