IVsCommentTaskToken::Priority Method (array<VSTASKPRIORITY>^)
Visual Studio 2015
Returns the priority of a comment task token.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- ptpPriority
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSTASKPRIORITY>^
[out, retval] Pointer to the task token priority, whose value is taken from the _vstaskpriority enumeration.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsCommentTaskToken::Priority( [out, retval] VSTASKPRIORITY* ptpPriority );
Since a user cannot change the comment task priority within the task list, there is no put_Priority method. However, a user can change the priority of a comment task token by using the Options menu item of the Tools menu of the IDE and selecting the Task List node of the Environment tree.
Show: