IVsTaskItem2.put_Priority(VSTASKPRIORITY) Método

Definição

Define o nível de prioridade de um item de tarefa.

public:
 int put_Priority(Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY tpPriority);
public:
 int put_Priority(Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY tpPriority);
int put_Priority(Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY tpPriority);
public int put_Priority (Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY tpPriority);
abstract member put_Priority : Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY -> int
Public Function put_Priority (tpPriority As VSTASKPRIORITY) As Integer

Parâmetros

tpPriority
VSTASKPRIORITY

no Nível de prioridade (alta, média ou baixa) da tarefa. Para obter uma lista de valores, consulte VSTASKPRIORITY .

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Implementações

Comentários

Assinatura COM

De VSShell. idl:

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

Implemente esse método somente se desejar que o nível de prioridade seja modificável pelo usuário.

Aplica-se a