获取特定 __VSSYSCOLOREX 标识符的 WPF ResourceDictionary 画笔键。输入为。输出为:
命名空间: Microsoft.VisualStudio.Shell
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
语法
声明
Public Shared Function GetBrushKey ( _
vsSysColor As Integer _
) As Object
public static Object GetBrushKey(
int vsSysColor
)
参数
- vsSysColor
类型:System.Int32
从 __VSSYSCOLOREX 枚举的标识符。
返回值
类型:System.Object
来引用在 Visual Studio 的画笔从 XAML 的键。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。