VSColorUtilities.GetShellColor Method
Returns the Color object for the given VS color value.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.Host
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Function GetShellColor ( _
color As Integer _
) As Color
'Usage
Dim color As Integer
Dim returnValue As Color
returnValue = VSColorUtilities.GetShellColor(color)
public static Color GetShellColor(
int color
)
public:
static Color GetShellColor(
int color
)
public static function GetShellColor(
color : int
) : Color
static member GetShellColor :
color:int -> Color
Parameters
- color
Type: System.Int32
The VS color value
Return Value
Type: System.Drawing.Color
.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
Microsoft.VisualStudio.Data.Schema.Project.Common.Host Namespace