IVsCommentTaskInfo Interface

Provides information about the comment task tokens used by the task list.

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

public interface IVsCommentTaskInfo

The IVsCommentTaskInfo type exposes the following members.

Public methodDefaultTokenReturns the default comment task token.
Public methodEnumTokensReturns an enumerator for all comment task tokens (including the default token).
Public methodTokenCountReturns the number of comment task tokens.

Comment task tokens are used by the task list to identify comment tasks. This interface helps language services find out what comment tokens they should be searching for when they parse their code. If they find those comment tokens, they should send a comment task to the task list.

See illustrations of the calling of this interface in the sample Figures Language Service.

Notes to Callers

Call this interface to manage the comment task tokens used by the task list.

Community Additions