次の方法で共有


VsColors.TryGetColorIDFromBaseKey(String, Int32) Method

Definition

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.

Applies to