IVsCommentTaskToken.Text(String) Méthode

Définition

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

Int32

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 ».

S’applique à