共用方式為


IEnumTargetFrameworks.Next(UInt32, UInt32[], UInt32) Method

Definition

Retrieves supported target frameworks.

public:
 int Next(System::UInt32 celt, cli::array <System::UInt32> ^ rgFrameworks, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <unsigned int> const & rgFrameworks, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, uint[] rgFrameworks, out uint pceltFetched);
abstract member Next : uint32 * uint32[] * uint32 -> int
Public Function Next (celt As UInteger, rgFrameworks As UInteger(), ByRef pceltFetched As UInteger) As Integer

Parameters

celt
UInt32

The number of target framework versions.

rgFrameworks
UInt32[]

A reference to the returned target frameworks.

pceltFetched
UInt32

The number of target frameworks returned.

Returns

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

Remarks

From compsvcspkg90.idl:

HRESULT Next(  
    [in] ULONG celt,  
    [out, size_is(celt), length_is(*pceltFetched)] BSTR * rgFrameworks,  
    [out] ULONG *pceltFetched  
);  

Applies to