VsColors.TryGetColorIDFromBaseKey(String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to get the color ID from the base key.
public:
static bool TryGetColorIDFromBaseKey(System::String ^ baseKey, [Runtime::InteropServices::Out] int % vsSysColor);
public static bool TryGetColorIDFromBaseKey (string baseKey, out int vsSysColor);
static member TryGetColorIDFromBaseKey : string * int -> bool
Public Function TryGetColorIDFromBaseKey (baseKey As String, ByRef vsSysColor As Integer) As Boolean
Parameters
- baseKey
- String
The base key.
- vsSysColor
- Int32
[out] The color ID.
Returns
VSConstants.S_OK, or a failure code.