IVsCommentTaskToken::Text Method (String^)

 

Returns the text of a comment task token.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int Text(
	[OutAttribute] String^% pbstrText
)

Parameters

pbstrText
Type: System::String^

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

Return Value

Type: System::Int32

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

Return to top
Show: