Export (0) Print
Expand All

VsExpansion.shortcut Field

Provides the shortcut name for the code snippet.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

public string shortcut

COM Signature

From textmgr2.idl:

   BSTR  shortcut;

The shortcut name can be passed to the GetExpansionByShortcut method in the IVsExpansionManager interface to obtain the title and path for the code snippet. The title and path can then be passed to the InsertNamedExpansion method in the IVsExpansion interface to insert the specified code snippet.

© 2014 Microsoft