Share via


IVsExpansionClient.EndExpansion Method

Definition

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

public:
 int EndExpansion();
public:
 int EndExpansion();
int EndExpansion();
public int EndExpansion ();
abstract member EndExpansion : unit -> int
Public Function EndExpansion () As Integer

Returns

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

Remarks

COM Signature

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.

Applies to