共用方式為


ExpansionProvider.EndTemplateEditing(Boolean) Method

Definition

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.

Applies to