ExpansionProvider.EndExpansion 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.
Called when an expansion session has ended.
public:
virtual int EndExpansion();
public:
int EndExpansion();
int EndExpansion();
public int EndExpansion ();
abstract member EndExpansion : unit -> int
override this.EndExpansion : unit -> int
Public Function EndExpansion () As Integer
Returns
If successful, returns S_OK; otherwise, returns an error code.
Implements
Remarks
This method is an implementation of the EndExpansion method on the IVsExpansionClient interface.
The base method clears the internal flag that indicates a snippet editing session is active and throws away the expansion session obtained from the InsertSpecificExpansion and InsertNamedExpansion methods.