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: Int32

    The 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

See Also

Reference

VsColors Class

Microsoft.VisualStudio.Shell Namespace