IVsTaskItem.put_Priority(VSTASKPRIORITY) Method

Definition

Sets the priority level of a task item.

public:
 int put_Priority(Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY tpPriority);
public:
 int put_Priority(Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY tpPriority);
int put_Priority(Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY tpPriority);
public int put_Priority (Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY tpPriority);
abstract member put_Priority : Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY -> int
Public Function put_Priority (tpPriority As VSTASKPRIORITY) As Integer

Parameters

tpPriority
VSTASKPRIORITY

[in] Priority level (high, medium, or low) of the task. For a list of values, see VSTASKPRIORITY

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsTaskItem::put_Priority(  
   [in] VSTASKPRIORITY tpPriority  
);  

Implement this method only if you want the priority level to be modifiable by the user.

Applies to