IVsTaskList2.BeginTaskEdit Method

Scrolls if necessary to make the task visible, selects it, and enters edit mode with the focus on the specified field. If the task does not belong to the active provider or the specified field is not a visible, editable field, the method will fail.

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


Function BeginTaskEdit ( _
    pItem As IVsTaskItem, _
    iFocusField As Integer _
) As Integer
‘사용 방법
Dim instance As IVsTaskList2
Dim pItem As IVsTaskItem
Dim iFocusField As Integer
Dim returnValue As Integer

returnValue = instance.BeginTaskEdit(pItem, _
int BeginTaskEdit(
    IVsTaskItem pItem,
    int iFocusField
int BeginTaskEdit(
    [InAttribute] IVsTaskItem^ pItem, 
    [InAttribute] int iFocusField
abstract BeginTaskEdit : 
        pItem:IVsTaskItem * 
        iFocusField:int -> int 
function BeginTaskEdit(
    pItem : IVsTaskItem, 
    iFocusField : int
) : int


  • iFocusField
    Type: System.Int32
    [In] An integer value containing the specified Field Index.

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 BeginTaskEdit(
   [in] IVsTaskItem* pItem, 
   [in] int iFocusField

.NET Framework Security

See Also


IVsTaskList2 Interface

IVsTaskList2 Members

Microsoft.VisualStudio.Shell.Interop Namespace