IVsLiteTree.EnumOrderedListItems(UInt32, IVsLiteTreeList, UInt32, UInt32, UInt32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Énumère la liste complète d'arborescences et de sous-arborescences à la fois.
public:
int EnumOrderedListItems([Runtime::InteropServices::Out] System::UInt32 % pNextStartIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ % pptl, [Runtime::InteropServices::Out] System::UInt32 % pFirstRelIndex, [Runtime::InteropServices::Out] System::UInt32 % pLastRelIndex, [Runtime::InteropServices::Out] System::UInt32 % pLevel);
int EnumOrderedListItems([Runtime::InteropServices::Out] unsigned int & pNextStartIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList const & & pptl, [Runtime::InteropServices::Out] unsigned int & pFirstRelIndex, [Runtime::InteropServices::Out] unsigned int & pLastRelIndex, [Runtime::InteropServices::Out] unsigned int & pLevel);
public int EnumOrderedListItems (out uint pNextStartIndex, out Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList pptl, out uint pFirstRelIndex, out uint pLastRelIndex, out uint pLevel);
abstract member EnumOrderedListItems : uint32 * IVsLiteTreeList * uint32 * uint32 * uint32 -> int
Public Function EnumOrderedListItems (ByRef pNextStartIndex As UInteger, ByRef pptl As IVsLiteTreeList, ByRef pFirstRelIndex As UInteger, ByRef pLastRelIndex As UInteger, ByRef pLevel As UInteger) As Integer
Paramètres
- pNextStartIndex
- UInt32
[in, out] Pointeur vers l’index du premier élément de la liste. Au retour, index de l'élément suivant de la liste.
- pptl
- IVsLiteTreeList
[out] Pointeur vers l'interface IVsLiteTreeList pour ce segment de l'arborescence.
- pFirstRelIndex
- UInt32
[out] Pointeur vers l'index relatif du premier élément de la liste.
- pLastRelIndex
- UInt32
[Out] Pointeur vers l'index relatif du dernier élément de la liste.
- pLevel
- UInt32
[Out] Pointeur vers le niveau actuel dans l'arborescence.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Pour plus d’informations sur l’énumération des listes d’arborescence et leur structure, consultez IVsLiteTreeList .
Signature COM
[C++]
À partir de vsshell. idl :
HRESULT IVsLiteTree::EnumOrderedListItems(
[in,out] ULONG *pNextStartIndex,
[out] IVsLiteTreeList **pptl,
[out] ULONG *pFirstRelIndex,
[out] ULONG *pLastRelIndex,
[out] ULONG *pLevel
);