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)


Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgFrameworks As UInteger(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
‘사용 방법
Dim instance As IEnumTargetFrameworks
Dim celt As UInteger
Dim rgFrameworks As UInteger()
Dim pceltFetched As UInteger
Dim returnValue As Integer

returnValue = instance.Next(celt, rgFrameworks, _
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


  • 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.


From compsvcspkg90.idl:

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

.NET Framework Security

See Also


IEnumTargetFrameworks Interface

IEnumTargetFrameworks Members

Microsoft.VisualStudio.Shell.Interop Namespace