ExpansionProvider::EndTemplateEditing Method (Boolean)

 

Ends the current snippet editing mode.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual void EndTemplateEditing(
	bool leaveCaret
)

Parameters

leaveCaret
Type: System::Boolean

[in] This is true if the caret is to be left where it was before the snippet was inserted; otherwise, this is false if the caret is positioned where the snippet indicates.

The base method calls the EndCurrentExpansion method on the IVsExpansionSession object representing the expansion session. The IVsExpansionSession was obtained from the InsertSpecificExpansion or InsertNamedExpansion methods.

Return to top
Show: