IVsCommentTaskToken.Text(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- pbstrText
- String
[out, retval] Pointer to a BSTR containing the text of the comment task token.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsCommentTaskToken::Text(
[out, retval] BSTR* pbstrText
);
The text identifies the comment task token, such as "TODO", "HACK", or "UNDONE".