Compartilhar via


TaskProvider.IVsTaskProvider3.OnBeginTaskEdit Method

Raised when the user begins editing a task in place.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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

Return Value

Type: 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

Microsoft.VisualStudio.Shell Namespace