IVsTaskItem.put_Priority(VSTASKPRIORITY) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit le niveau de priorité d'un élément de tâche.
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
Paramètres
- tpPriority
- VSTASKPRIORITY
[in] Niveau de priorité (élevé, normal ou faible) de la tâche. Pour obtenir la liste des valeurs, consultez VSTASKPRIORITY.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de vsshell. idl :
HRESULT IVsTaskItem::put_Priority(
[in] VSTASKPRIORITY tpPriority
);
Implémentez cette méthode uniquement si vous souhaitez que le niveau de priorité soit modifiable par l’utilisateur.