Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the priority level of a task item.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function put_Priority ( _
tpPriority As VSTASKPRIORITY _
) As Integer
int put_Priority(
VSTASKPRIORITY tpPriority
)
int put_Priority(
[InAttribute] VSTASKPRIORITY tpPriority
)
abstract put_Priority :
tpPriority:VSTASKPRIORITY -> int
function put_Priority(
tpPriority : VSTASKPRIORITY
) : int
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.Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.