共用方式為


Task.IVsTaskItem.get_Priority(VSTASKPRIORITY[]) Method

Definition

Gets the priority of the task.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.get_Priority(cli::array <Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY> ^ pri) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::get_Priority;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.get_Priority(Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY> ^ pri) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::get_Priority;
int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.get_Priority(std::Array <Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY> const & pri);
int IVsTaskItem.get_Priority (Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY[] pri);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.get_Priority : Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY[] -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.get_Priority : Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY[] -> int
Function get_Priority (pri As VSTASKPRIORITY()) As Integer Implements IVsTaskItem.get_Priority

Parameters

pri
VSTASKPRIORITY[]

An array of VSTASKPRIORITY objects.

Returns

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

Implements

Applies to