CompletionSet.OnCommitComplete Method
Called after the text has been committed.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣告
Public Overridable Function OnCommitComplete As Integer
'用途
Dim instance As CompletionSet
Dim returnValue As Integer
returnValue = instance.OnCommitComplete()
public virtual int OnCommitComplete()
public:
virtual int OnCommitComplete()
abstract OnCommitComplete : unit -> int
override OnCommitComplete : unit -> int
public function OnCommitComplete() : int
Return Value
Type: System.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
- 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.