IEnumSystemAssemblies.Next Method

Retrieves the next system assembly.

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

Syntax

'宣言
Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgAssemblies As String(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
'使用
Dim instance As IEnumSystemAssemblies
Dim celt As UInteger
Dim rgAssemblies As String()
Dim pceltFetched As UInteger
Dim returnValue As Integer

returnValue = instance.Next(celt, rgAssemblies, _
    pceltFetched)
int Next(
    uint celt,
    string[] rgAssemblies,
    out uint pceltFetched
)
int Next(
    [InAttribute] unsigned int celt, 
    [OutAttribute] array<String^>^ rgAssemblies, 
    [OutAttribute] unsigned int% pceltFetched
)
function Next(
    celt : uint, 
    rgAssemblies : String[], 
    pceltFetched : uint
) : int

Parameters

  • rgAssemblies
    Type: []

    A reference to the returned assemblies.

  • pceltFetched
    Type: System.UInt32%

    Number of system assemblies 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 * rgAssemblies,
    [out] ULONG *pceltFetched
);

Permissions

See Also

Reference

IEnumSystemAssemblies Interface

IEnumSystemAssemblies Members

Microsoft.VisualStudio.Shell.Interop Namespace