Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the VSCOLOR identifier for a given WPF brush resource key. The input is a key which can be used to reference the color in Visual Studio from XAML. The output is an identifier from the VSCOLOR enumeration used with IVsUIShell2.GetVSSysColorEx.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Function GetColorID ( _
vsBrushKey As Object _
) As Integer
'Usage
Dim vsBrushKey As Object
Dim returnValue As Integer
returnValue = VsBrushes.GetColorID(vsBrushKey)
public static int GetColorID(
Object vsBrushKey
)
public:
static int GetColorID(
Object^ vsBrushKey
)
static member GetColorID :
vsBrushKey:Object -> int
public static function GetColorID(
vsBrushKey : Object
) : int
Parameters
- vsBrushKey
Type: System.Object
Return Value
Type: System.Int32
.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.