Condividi tramite


IVsTaskItem2.put_Priority Method (VSTASKPRIORITY)

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

'Dichiarazione
Function put_Priority ( _
    tpPriority As VSTASKPRIORITY _
) As Integer
'Utilizzo
Dim instance As IVsTaskItem2
Dim tpPriority As VSTASKPRIORITY
Dim returnValue As Integer

returnValue = instance.put_Priority(tpPriority)
int put_Priority(
    VSTASKPRIORITY tpPriority
)
int put_Priority(
    [InAttribute] VSTASKPRIORITY tpPriority
)
abstract put_Priority : 
        tpPriority:VSTASKPRIORITY -> int 
function put_Priority(
    tpPriority : VSTASKPRIORITY
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTaskItem.put_Priority(VSTASKPRIORITY)

Remarks

COM Signature

From vsshell.idl:

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

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

.NET Framework Security

See Also

Reference

IVsTaskItem2 Interface

IVsTaskItem2 Members

put_Priority Overload

Microsoft.VisualStudio.Shell.Interop Namespace