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
'Declaración
Private Function OnBeginTaskEdit ( _
item As IVsTaskItem _
) As Integer Implements IVsTaskProvider3.OnBeginTaskEdit
int IVsTaskProvider3.OnBeginTaskEdit(
IVsTaskItem item
)
Parameters
- item
Type: Microsoft.VisualStudio.Shell.Interop.IVsTaskItem
The 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.