다음을 통해 공유


IVsTaskList2.EnumSelectedItems(IVsEnumTaskItems) Method

Definition

Returns an enumerator that will enumerate all the selected items, in order from last selected to first selected.

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

Parameters

ppEnum
IVsEnumTaskItems

[Out] A pointer to a pointer to an object of type IVsEnumTaskItems.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT EnumSelectedItems(  
   [out] IVsEnumTaskItems** ppEnum  
);  

Applies to