VsColors.GetColorBaseKey Method
Gets the key for the color.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function GetColorBaseKey ( _
vsSysColor As Integer _
) As String
public static string GetColorBaseKey(
int vsSysColor
)
public:
static String^ GetColorBaseKey(
int vsSysColor
)
static member GetColorBaseKey :
vsSysColor:int -> string
public static function GetColorBaseKey(
vsSysColor : int
) : String
Parameters
vsSysColor
Type: Int32The color.
Return Value
Type: String
The name of the color key.
Remarks
Only colors in the range [FirstColor, LastColor] areknown VS colors, any other value is out of range.
.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.