IVsTaskItem2::put_Priority Method (VSTASKPRIORITY)
Visual Studio 2015
Sets the priority level of a task item.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- tpPriority
-
Type:
Microsoft.VisualStudio.Shell.Interop::VSTASKPRIORITY
[in] Priority level (high, medium, or low) of the task. For a list of values, see VSTASKPRIORITY.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsTaskItem2::put_Priority(
[in] VSTASKPRIORITY tpPriority
);
Implement this method only if you want the priority level to be modifiable by the user.
Show: