EndExpansion Method

IVsExpansionClient::EndExpansion Method ()

 

Called to signal the end of the code snippet insertion and editing phase.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int EndExpansion()

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr2.idl:

HRESULT IVsExpansionClient::EndExpansion();

This method is called when the code snippet has been inserted and the user has completed all changes to the snippet in the special editing phase. At this point, any resources that may have been allocated for inserting or formatting the code snippet can be released.

Return to top
Show:
© 2016 Microsoft