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

声明
Private Function OnBeginTaskEdit ( _
    item As IVsTaskItem _
) As Integer Implements IVsTaskProvider3.OnBeginTaskEdit
用法
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

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

See Also

Reference

TaskProvider Class

TaskProvider Members

Microsoft.VisualStudio.Shell Namespace