TaskProvider.IVsTaskProvider3.OnBeginTaskEdit Method
Raised when the user begins editing a task in place.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Déclaration
Private Function OnBeginTaskEdit ( _
item As IVsTaskItem _
) As Integer Implements IVsTaskProvider3.OnBeginTaskEdit
'Utilisation
Dim instance As TaskProvider
Dim item As IVsTaskItem
Dim returnValue As Integer
returnValue = CType(instance, IVsTaskProvider3).OnBeginTaskEdit(item)
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.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.