IVsTaskProvider3.OnBeginTaskEdit Method

Called when the user begins editing a task in-place. Providers may want to avoid scrolling the tasklist or changing the selection during editing, since these actions can force in-place edit mode to be canceled abruptly.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function OnBeginTaskEdit ( _
    pItem As IVsTaskItem _
) As Integer
int OnBeginTaskEdit(
    IVsTaskItem pItem
)
int OnBeginTaskEdit(
    [InAttribute] IVsTaskItem^ pItem
)
abstract OnBeginTaskEdit : 
        pItem:IVsTaskItem -> int 
function OnBeginTaskEdit(
    pItem : IVsTaskItem
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsTaskProvider3::OnBeginTaskEdit(
   [in] IVsTaskItem* pItem
);

.NET Framework Security

See Also

Reference

IVsTaskProvider3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace