IEnumTargetFrameworks.Next Method

Retrieves supported target frameworks.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'Declaration
Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgFrameworks As UInteger(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
int Next(
    uint celt,
    uint[] rgFrameworks,
    out uint pceltFetched
)
int Next(
    [InAttribute] unsigned int celt, 
    [OutAttribute] array<unsigned int>^ rgFrameworks, 
    [OutAttribute] unsigned int% pceltFetched
)
abstract Next : 
        celt:uint32 * 
        rgFrameworks:uint32[] byref * 
        pceltFetched:uint32 byref -> int 
function Next(
    celt : uint, 
    rgFrameworks : uint[], 
    pceltFetched : uint
) : int

Parameters

  • celt
    Type: System.UInt32
    The number of target framework versions.
  • rgFrameworks
    Type: array<System.UInt32[]
    A reference to the returned target frameworks.
  • pceltFetched
    Type: System.UInt32%
    The number of target frameworks returned.

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IEnumTargetFrameworks Interface

Microsoft.VisualStudio.Shell.Interop Namespace