TaskProvider.IVsTaskProvider2.EnumTaskItems Method
Gets an enumerator over task items.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Private Function EnumTaskItems ( _
<OutAttribute> ByRef items As IVsEnumTaskItems _
) As Integer Implements IVsTaskProvider2.EnumTaskItems
int IVsTaskProvider2.EnumTaskItems(
out IVsEnumTaskItems items
)
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
IVsTaskProvider2.EnumTaskItems(IVsEnumTaskItems%)
Remarks
This method calls EnumTaskItems.
.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.