Partager via


IVsTaskItem.get_Priority(VSTASKPRIORITY[]) Method

Definition

Returns the priority level of a task item.

public:
 int get_Priority(cli::array <Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY> ^ ptpPriority);
public int get_Priority (Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY[] ptpPriority);
abstract member get_Priority : Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY[] -> int
Public Function get_Priority (ptpPriority As VSTASKPRIORITY()) As Integer

Parameters

ptpPriority
VSTASKPRIORITY[]

[out, retval] Priority (high, normal, or low) of the task item. For a list of ptpPriority values, see VSTASKPRIORITY.

Returns

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

Applies to