IVsCommentTaskInfo::EnumTokens Method (IVsEnumCommentTaskTokens^)

 

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

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

int EnumTokens(
	[OutAttribute] IVsEnumCommentTaskTokens^% ppenum
)

Parameters

ppenum
Type: Microsoft.VisualStudio.Shell.Interop::IVsEnumCommentTaskTokens^

[out, retval] Pointer to the IVsEnumCommentTaskTokens interface.

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 IVsCommentTaskInfo::EnumTokens(
   [out, retval] IVsEnumCommentTaskTokens** ppEnum
);

These are the tokens that task providers should detect if they provide comment tasks.

Return to top
Show: