다음을 통해 공유


ExpansionProvider.EndExpansion Method

Called when an expansion session has ended.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

‘선언
Public Function EndExpansion As Integer
‘사용 방법
Dim instance As ExpansionProvider
Dim returnValue As Integer

returnValue = instance.EndExpansion()
public int EndExpansion()
public:
virtual int EndExpansion() sealed
abstract EndExpansion : unit -> int 
override EndExpansion : unit -> int 
public final function EndExpansion() : int

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Implements

IVsExpansionClient.EndExpansion()

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.

.NET Framework Security

See Also

Reference

ExpansionProvider Class

ExpansionProvider Members

Microsoft.VisualStudio.Package Namespace