次の方法で共有


IVsCommentTaskInfo.EnumTokens(IVsEnumCommentTaskTokens) Method

Definition

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

public:
 int EnumTokens([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnumCommentTaskTokens ^ % ppenum);
public:
 int EnumTokens([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnumCommentTaskTokens ^ &  ppenum);
int EnumTokens([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnumCommentTaskTokens const & & ppenum);
public int EnumTokens (out Microsoft.VisualStudio.Shell.Interop.IVsEnumCommentTaskTokens ppenum);
abstract member EnumTokens : IVsEnumCommentTaskTokens -> int
Public Function EnumTokens (ByRef ppenum As IVsEnumCommentTaskTokens) As Integer

Parameters

ppenum
IVsEnumCommentTaskTokens

[out, retval] Pointer to the IVsEnumCommentTaskTokens interface.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsCommentTaskInfo::EnumTokens(  
   [out, retval] IVsEnumCommentTaskTokens** ppEnum  
);  

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

Applies to