IVsCommentTaskInfo::DefaultToken Method (IVsCommentTaskToken^)
Visual Studio 2015
Returns the default comment task token.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- ppToken
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsCommentTaskToken^
[out, retval] Pointer to the IVsCommentTaskToken interface of the default comment task token.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsCommentTaskInfo::DefaultToken( [out, retval] IVsCommentTaskToken** ppToken );
This is the token that add-ins should use when inserting generic comment tasks into the user's code. In the Visual Studio IDE, the default comment task token is "TODO" with normal priority. The name of the default comment task token cannot be changed, but the user can change its priority.
Show: