TaskProvider::IVsTaskProvider3::OnEndTaskEdit Method (IVsTaskItem^, Int32, Int32)

 

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

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int OnEndTaskEdit(
	IVsTaskItem^ item,
	int fCommitChanges,
	[OutAttribute] int% fAllowChanges
) sealed = IVsTaskProvider3::OnEndTaskEdit

Parameters

item
Type: Microsoft.VisualStudio.Shell.Interop::IVsTaskItem^

The IVsTaskItem being edited.

fCommitChanges
Type: System::Int32

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

fAllowChanges
Type: System::Int32

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

Return Value

Type: System::Int32

S_OK.

By default this method sets fAllowChanges to true.

Return to top
Show: