次の方法で共有


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

'宣言
Function EndExpansion As Integer
'使用
Dim instance As IVsExpansionClient
Dim returnValue As Integer

returnValue = instance.EndExpansion()
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

See Also

Reference

IVsExpansionClient Interface

IVsExpansionClient Members

Microsoft.VisualStudio.TextManager.Interop Namespace