ExpansionProvider.EndTemplateEditing(Boolean) Method
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.
Ends the current snippet editing mode.
public:
virtual void EndTemplateEditing(bool leaveCaret);
public:
virtual void EndTemplateEditing(bool leaveCaret);
virtual void EndTemplateEditing(bool leaveCaret);
public virtual void EndTemplateEditing (bool leaveCaret);
abstract member EndTemplateEditing : bool -> unit
override this.EndTemplateEditing : bool -> unit
Public Overridable Sub EndTemplateEditing (leaveCaret As Boolean)
Parameters
- leaveCaret
- 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.
Remarks
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.