Partilhar via


IVsTaskProvider3.OnBeginTaskEdit(IVsTaskItem) Method

Definition

Called when the user begins editing a task in-place. Providers may want to avoid scrolling the tasklist or changing the selection during editing, since these actions can force in-place edit mode to be canceled abruptly.

public:
 int OnBeginTaskEdit(Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^ pItem);
public:
 int OnBeginTaskEdit(Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^ pItem);
int OnBeginTaskEdit(Microsoft::VisualStudio::Shell::Interop::IVsTaskItem const & pItem);
public int OnBeginTaskEdit (Microsoft.VisualStudio.Shell.Interop.IVsTaskItem pItem);
abstract member OnBeginTaskEdit : Microsoft.VisualStudio.Shell.Interop.IVsTaskItem -> int
Public Function OnBeginTaskEdit (pItem As IVsTaskItem) As Integer

Parameters

pItem
IVsTaskItem

[in] A pointer to an object of type IVsTaskItem.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsTaskProvider3::OnBeginTaskEdit(  
   [in] IVsTaskItem* pItem  
);  

Applies to