Compartilhar via


TaskProvider.IVsTaskProvider3.OnEndTaskEdit(IVsTaskItem, Int32, Int32) Method

Definition

Raised when the user finishes editing a task in-place.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.OnEndTaskEdit(Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^ item, int fCommitChanges, [Runtime::InteropServices::Out] int % fAllowChanges) = Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider3::OnEndTaskEdit;
int Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.OnEndTaskEdit(Microsoft::VisualStudio::Shell::Interop::IVsTaskItem const & item, int fCommitChanges, [Runtime::InteropServices::Out] int & fAllowChanges);
int IVsTaskProvider3.OnEndTaskEdit (Microsoft.VisualStudio.Shell.Interop.IVsTaskItem item, int fCommitChanges, out int fAllowChanges);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.OnEndTaskEdit : Microsoft.VisualStudio.Shell.Interop.IVsTaskItem * int * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.OnEndTaskEdit : Microsoft.VisualStudio.Shell.Interop.IVsTaskItem * int * int -> int
Function OnEndTaskEdit (item As IVsTaskItem, fCommitChanges As Integer, ByRef fAllowChanges As Integer) As Integer Implements IVsTaskProvider3.OnEndTaskEdit

Parameters

item
IVsTaskItem

The IVsTaskItem being edited.

fCommitChanges
Int32

true if the user wishes to commit the changes, false if the user wishes to discard them.

fAllowChanges
Int32

[out] Returns true if the changes have been committed, false to disallow the user from leaving edit mode.

Returns

S_OK.

Implements

Remarks

By default this method sets fAllowChanges to true.

Applies to