Partager via


CompletionSet.OnCommitComplete Method

Called after the text has been committed.

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

Syntax

'Declaration
Public Overridable Function OnCommitComplete As Integer
public virtual int OnCommitComplete()
public:
virtual int OnCommitComplete()
abstract OnCommitComplete : unit -> int  
override OnCommitComplete : unit -> int
public function OnCommitComplete() : int

Return Value

Type: Int32
S_OK .

Implements

IVsCompletionSetEx.OnCommitComplete()

Remarks

This method is the implementation of the OnCommitComplete method of the IVsCompletionSetEx interface.

This method gets the ViewFilter , if any, from the CodeWindowManager, and calls OnAutoComplete.

.NET Framework Security

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Package Namespace