TaskProvider.IVsTaskProvider.EnumTaskItems Method
Gets an enumerator over the task items.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Déclaration
Private Function EnumTaskItems ( _
<OutAttribute> ByRef items As IVsEnumTaskItems _
) As Integer Implements IVsTaskProvider.EnumTaskItems
'Utilisation
Dim instance As TaskProvider
Dim items As IVsEnumTaskItems
Dim returnValue As Integer
returnValue = CType(instance, IVsTaskProvider).EnumTaskItems(items)
int IVsTaskProvider.EnumTaskItems(
out IVsEnumTaskItems items
)
private:
virtual int EnumTaskItems(
[OutAttribute] IVsEnumTaskItems^% items
) sealed = IVsTaskProvider::EnumTaskItems
private abstract EnumTaskItems :
items:IVsEnumTaskItems byref -> int
private override EnumTaskItems :
items:IVsEnumTaskItems byref -> int
JScript does not support explicit interface implementations.
Parameters
- items
Type: Microsoft.VisualStudio.Shell.Interop.IVsEnumTaskItems%
[out] IVsEnumTaskItems.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTaskProvider.EnumTaskItems(IVsEnumTaskItems%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.