VsExpansion.shortcut Field

Definition

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.

Applies to