Freigeben über


Task.Priority Property

Gets or sets the priority of a task.

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
Public Property Priority As TaskPriority
    Get
    Set
'Usage
Dim instance As Task
Dim value As TaskPriority

value = instance.Priority

instance.Priority = value
public TaskPriority Priority { get; set; }
public:
property TaskPriority Priority {
    TaskPriority get ();
    void set (TaskPriority value);
}
member Priority : TaskPriority with get, set
function get Priority () : TaskPriority
function set Priority (value : TaskPriority)

Property Value

Type: Microsoft.VisualStudio.Shell.TaskPriority
TaskPriority.

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace