IVsTaskList2::BeginTaskEdit Method (IVsTaskItem^, Int32)
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pItem
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsTaskItem^
[In] A pointer to an object of type IVsTaskItem.
- iFocusField
-
Type:
System::Int32
[In] An integer value containing the specified Field Index.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT BeginTaskEdit( [in] IVsTaskItem* pItem, [in] int iFocusField );
Show: