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)
Syntax
'Declaration
Function EndExpansion As Integer
int EndExpansion()
int EndExpansion()
abstract EndExpansion : unit -> int
function EndExpansion() : int
Return Value
Type: System.Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.