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
celt
Type: System.UInt32The number of assemblies to return.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.