IVsTaskProvider3::OnEndTaskEdit Method (IVsTaskItem^, Int32, Int32)
Visual Studio 2015
Called when the user finishes editing a task in-place. fCommitChanges indicates whether the user chose to commit the changes or discard them. This method may set *pfAllowChanges to FALSE to disallow the user from exiting edit mode. If fCommitChanges is TRUE, the changes will have already been persisted down to the task item.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int OnEndTaskEdit( IVsTaskItem^ pItem, int fCommitChanges, [OutAttribute] int% pfAllowChanges )
Parameters
- pItem
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsTaskItem^
[in] A pointer to an object of type IVsTaskItem.
- fCommitChanges
-
Type:
System::Int32
[in] A Boolean value set to TRUE if the user chooses to commit the changes.
- pfAllowChanges
-
Type:
System::Int32
[out] A Boolean value set to FALSE to disallow the user from exiting edit mode, or to TRUE if the changes were already persisted down to the task item.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsTaskProvider3::OnEndTaskEdit( [in] IVsTaskItem* pItem, [in] BOOL fCommitChanges, [out] BOOL* pfAllowChanges );
Show: