Compartilhar via


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)

Syntax

'Declaration
<GuidAttribute("D94C96DA-A6C4-4F52-84F6-52ECF05DEA3A")> _
<InterfaceTypeAttribute()> _
Public Interface IVsCommentTaskInfo
[GuidAttribute("D94C96DA-A6C4-4F52-84F6-52ECF05DEA3A")]
[InterfaceTypeAttribute()]
public interface IVsCommentTaskInfo
[GuidAttribute(L"D94C96DA-A6C4-4F52-84F6-52ECF05DEA3A")]
[InterfaceTypeAttribute()]
public interface class IVsCommentTaskInfo
[<GuidAttribute("D94C96DA-A6C4-4F52-84F6-52ECF05DEA3A")>]
[<InterfaceTypeAttribute()>]
type IVsCommentTaskInfo =  interface end
public interface IVsCommentTaskInfo

The IVsCommentTaskInfo type exposes the following members.

Methods

  Name Description
Public method DefaultToken Returns the default comment task token.
Public method EnumTokens Returns an enumerator for all comment task tokens (including the default token).
Public method TokenCount Returns the number of comment task tokens.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace