Freigeben über


Task.IVsTaskItem.put_Priority Method

Sets the priority level of a task item.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Declaration
Private Function put_Priority ( _
    pri As VSTASKPRIORITY _
) As Integer Implements IVsTaskItem.put_Priority
'Usage
Dim instance As Task
Dim pri As VSTASKPRIORITY
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskItem).put_Priority(pri)
int IVsTaskItem.put_Priority(
    VSTASKPRIORITY pri
)
private:
virtual int put_Priority(
    VSTASKPRIORITY pri
) sealed = IVsTaskItem::put_Priority
private abstract put_Priority : 
        pri:VSTASKPRIORITY -> int 
private override put_Priority : 
        pri:VSTASKPRIORITY -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
S_OK().

Implements

IVsTaskItem.put_Priority(VSTASKPRIORITY)

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace