IVsEnumDependencies.Next(UInt32, IVsDependency[], UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索枚举序列中指定数目的依赖项。
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]一个指针,指向中提供的元素的数目 rgpIVsDependency 。 null如果为1,则调用方可以传入 cElements 。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell:
HRESULT IVsEnumDependencies::Next(
[in] ULONG cElements,
[in, out, size_is(cElements)] IVsDependency *rgpIVsDependency[],
[out] ULONG *pcElementsFetched
);