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
)
function GetVSSysColor(
dwSysColIndex : VSSYSCOLOR,
pdwRGBval : uint
) : int
Parameters
dwSysColIndex
Type: Microsoft.VisualStudio.Shell.Interop.VSSYSCOLORDo not use.
pdwRGBval
Type: System.UInt32%Do not use.
Return Value
Type: System.Int32
Permissions
- 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.