IVsCommentTaskToken.Text(String) 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.
Retourne le texte d'un jeton de commentaire.
public:
int Text([Runtime::InteropServices::Out] System::String ^ % pbstrText);
int Text([Runtime::InteropServices::Out] std::wstring const & & pbstrText);
public int Text (out string pbstrText);
abstract member Text : string -> int
Public Function Text (ByRef pbstrText As String) As Integer
Paramètres
- pbstrText
- String
[out, retval] Pointeur vers un BSTR contenant le texte du jeton de la tâche de commentaire.
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 IVsCommentTaskToken::Text(
[out, retval] BSTR* pbstrText
);
Le texte identifie le jeton de tâche de commentaire, tel que « TODO », « HACK » ou « UNDONE ».