VsExpansion.shortcut Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the shortcut name for the code snippet.
public: System::String ^ shortcut;
public: Platform::String ^ shortcut;
std::wstring shortcut;
public string shortcut;
val mutable shortcut : string
Public shortcut As String
Field Value
Remarks
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.