TaskProvider.IVsTaskProvider3.OnBeginTaskEdit Method
Raised when the user begins editing a task in place.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Private Function OnBeginTaskEdit ( _
item As IVsTaskItem _
) As Integer Implements IVsTaskProvider3.OnBeginTaskEdit
int IVsTaskProvider3.OnBeginTaskEdit(
IVsTaskItem item
)
private:
virtual int OnBeginTaskEdit(
IVsTaskItem^ item
) sealed = IVsTaskProvider3::OnBeginTaskEdit
private abstract OnBeginTaskEdit :
item:IVsTaskItem -> int
private override OnBeginTaskEdit :
item:IVsTaskItem -> int
JScript does not support explicit interface implementations.
Parameters
item
Type: Microsoft.VisualStudio.Shell.Interop.IVsTaskItemThe IVsTaskItem being edited.
Return Value
Type: System.Int32
S_OK .
Implements
IVsTaskProvider3.OnBeginTaskEdit(IVsTaskItem)
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.