Freigeben über


IVsCommentTaskToken.Text(String) Method

Definition

Returns the text of a comment task token.

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

Parameters

pbstrText
String

[out, retval] Pointer to a BSTR containing the text of the comment task token.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsCommentTaskToken::Text(  
   [out, retval] BSTR* pbstrText  
);  

The text identifies the comment task token, such as "TODO", "HACK", or "UNDONE".

Applies to