共用方式為


ViewFilter.SnippetBound Property

Gets or sets whether or not a key has been bound to the Invoke Snippet From Shortcut command.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'宣告
Protected Property SnippetBound As Boolean
protected bool SnippetBound { get; set; }

Property Value

Type: System.Boolean
true if a shortcut key exists, otherwise false.

Remarks

The value of this property is determined by GetSnippetShortCutKeybindingState.

.NET Framework Security

See Also

Reference

ViewFilter Class

Microsoft.VisualStudio.Package Namespace