次の方法で共有


IVsCommentTaskInfo Interface

Definition

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

public interface class IVsCommentTaskInfo
public interface class IVsCommentTaskInfo
__interface IVsCommentTaskInfo
[System.Runtime.InteropServices.Guid("D94C96DA-A6C4-4F52-84F6-52ECF05DEA3A")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsCommentTaskInfo
[System.Runtime.InteropServices.Guid("D94C96DA-A6C4-4F52-84F6-52ECF05DEA3A")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsCommentTaskInfo
[<System.Runtime.InteropServices.Guid("D94C96DA-A6C4-4F52-84F6-52ECF05DEA3A")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsCommentTaskInfo = interface
[<System.Runtime.InteropServices.Guid("D94C96DA-A6C4-4F52-84F6-52ECF05DEA3A")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsCommentTaskInfo = interface
Public Interface IVsCommentTaskInfo
Attributes

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.

Methods

DefaultToken(IVsCommentTaskToken)

Returns the default comment task token.

EnumTokens(IVsEnumCommentTaskTokens)

Returns an enumerator for all comment task tokens (including the default token).

TokenCount(Int32)

Returns the number of comment task tokens.

Applies to