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)


Function OnBeginTaskEdit ( _
    pItem As IVsTaskItem _
) As Integer
‘사용 방법
Dim instance As IVsTaskProvider3
Dim pItem As IVsTaskItem
Dim returnValue As Integer

returnValue = instance.OnBeginTaskEdit(pItem)
int OnBeginTaskEdit(
    IVsTaskItem pItem
int OnBeginTaskEdit(
    [InAttribute] IVsTaskItem^ pItem
abstract OnBeginTaskEdit : 
        pItem:IVsTaskItem -> int 
function OnBeginTaskEdit(
    pItem : IVsTaskItem
) : int


Return Value

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


COM Signature

From vsshell80.idl:

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

.NET Framework Security

See Also


IVsTaskProvider3 Interface

IVsTaskProvider3 Members

Microsoft.VisualStudio.Shell.Interop Namespace