다음을 통해 공유


TaskProvider.IVsTaskProvider3.OnBeginTaskEdit(IVsTaskItem) Method

Definition

Raised when the user begins editing a task in place.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.OnBeginTaskEdit(Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^ item) = Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider3::OnBeginTaskEdit;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.OnBeginTaskEdit(Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^ item) = Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider3::OnBeginTaskEdit;
int Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.OnBeginTaskEdit(Microsoft::VisualStudio::Shell::Interop::IVsTaskItem const & item);
int IVsTaskProvider3.OnBeginTaskEdit (Microsoft.VisualStudio.Shell.Interop.IVsTaskItem item);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.OnBeginTaskEdit : Microsoft.VisualStudio.Shell.Interop.IVsTaskItem -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.OnBeginTaskEdit : Microsoft.VisualStudio.Shell.Interop.IVsTaskItem -> int
Function OnBeginTaskEdit (item As IVsTaskItem) As Integer Implements IVsTaskProvider3.OnBeginTaskEdit

Parameters

item
IVsTaskItem

The IVsTaskItem being edited.

Returns

S_OK.

Implements

Remarks

By default this method does nothing. Providers may want to avoid scrolling the task list or changing the selection during editing, since these actions can force in-place edit mode to be canceled abruptly.

Applies to