IVsEnumDependencies.Next(UInt32, IVsDependency[], UInt32) 方法

定义

检索枚举序列中指定数目的依赖项。

public:
 int Next(System::UInt32 cElements, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsDependency ^> ^ rgpIVsDependency, [Runtime::InteropServices::Out] System::UInt32 % pcElementsFetched);
int Next(unsigned int cElements, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsDependency const &> const & rgpIVsDependency, [Runtime::InteropServices::Out] unsigned int & pcElementsFetched);
public int Next (uint cElements, Microsoft.VisualStudio.Shell.Interop.IVsDependency[] rgpIVsDependency, out uint pcElementsFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsDependency[] * uint32 -> int
Public Function Next (cElements As UInteger, rgpIVsDependency As IVsDependency(), ByRef pcElementsFetched As UInteger) As Integer

参数

cElements
UInt32

中请求的元素数。

rgpIVsDependency
IVsDependency[]

[in,out,size_is (cElements) ]指向 IVsDependency 属于请求依赖项的接口数组的指针。

pcElementsFetched
UInt32

[out,optional]一个指针,指向中提供的元素的数目 rgpIVsDependencynull如果为1,则调用方可以传入 cElements

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell:

HRESULT IVsEnumDependencies::Next(  
   [in] ULONG cElements,  
   [in, out, size_is(cElements)] IVsDependency *rgpIVsDependency[],  
   [out] ULONG *pcElementsFetched  
);  

适用于