Condividi tramite


IVsCommentTaskInfo.EnumTokens Method

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)

Syntax

'Dichiarazione
Function EnumTokens ( _
    <OutAttribute> ByRef ppenum As IVsEnumCommentTaskTokens _
) As Integer
'Utilizzo
Dim instance As IVsCommentTaskInfo
Dim ppenum As IVsEnumCommentTaskTokens
Dim returnValue As Integer

returnValue = instance.EnumTokens(ppenum)
int EnumTokens(
    out IVsEnumCommentTaskTokens ppenum
)
int EnumTokens(
    [OutAttribute] IVsEnumCommentTaskTokens^% ppenum
)
abstract EnumTokens : 
        ppenum:IVsEnumCommentTaskTokens byref -> int 
function EnumTokens(
    ppenum : IVsEnumCommentTaskTokens
) : int

Parameters

Return Value

Type: System.Int32
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.

.NET Framework Security

See Also

Reference

IVsCommentTaskInfo Interface

IVsCommentTaskInfo Members

Microsoft.VisualStudio.Shell.Interop Namespace