Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Attempts to get the color ID from the base key.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function TryGetColorIDFromBaseKey ( _
baseKey As String, _
<OutAttribute> ByRef vsSysColor As Integer _
) As Boolean
public static bool TryGetColorIDFromBaseKey(
string baseKey,
out int vsSysColor
)
public:
static bool TryGetColorIDFromBaseKey(
String^ baseKey,
[OutAttribute] int% vsSysColor
)
static member TryGetColorIDFromBaseKey :
baseKey:string *
vsSysColor:int byref -> bool
public static function TryGetColorIDFromBaseKey(
baseKey : String,
vsSysColor : int
) : boolean
Parameters
baseKey
Type: StringThe base key.
vsSysColor
Type: Int32%[out] The color ID.
Return Value
Type: Boolean
VSConstants.S_OK, or a failure code.
.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.