ViewFilter.SnippetBound 属性
获取或设置键是否绑定到 调用从快捷的代码段 命令。
命名空间: Microsoft.VisualStudio.Package
程序集: Microsoft.VisualStudio.Package.LanguageService(在 Microsoft.VisualStudio.Package.LanguageService.dll 中)
Microsoft.VisualStudio.Package.LanguageService.10.0(在 Microsoft.VisualStudio.Package.LanguageService.10.0.dll 中)
Microsoft.VisualStudio.Package.LanguageService.9.0(在 Microsoft.VisualStudio.Package.LanguageService.9.0.dll 中)
Microsoft.VisualStudio.Package.LanguageService.11.0(在 Microsoft.VisualStudio.Package.LanguageService.11.0.dll 中)
语法
声明
Protected Property SnippetBound As Boolean
protected bool SnippetBound { get; set; }
属性值
类型:System.Boolean
true ,如果快捷键存在,否则 false。
备注
GetSnippetShortCutKeybindingState依赖于此属性的值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。