IVsEnumNavInfoNodes.Next Method
Retrieves a specified number of node items in the enumeration sequence.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Dichiarazione
Function Next ( _
celt As UInteger, _
<OutAttribute> rgelt As IVsNavInfoNode(), _
<OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
'Utilizzo
Dim instance As IVsEnumNavInfoNodes
Dim celt As UInteger
Dim rgelt As IVsNavInfoNode()
Dim pceltFetched As UInteger
Dim returnValue As Integer
returnValue = instance.Next(celt, rgelt, _
pceltFetched)
int Next(
uint celt,
IVsNavInfoNode[] rgelt,
out uint pceltFetched
)
int Next(
[InAttribute] unsigned int celt,
[OutAttribute] array<IVsNavInfoNode^>^ rgelt,
[OutAttribute] unsigned int% pceltFetched
)
abstract Next :
celt:uint32 *
rgelt:IVsNavInfoNode[] byref *
pceltFetched:uint32 byref -> int
function Next(
celt : uint,
rgelt : IVsNavInfoNode[],
pceltFetched : uint
) : int
Parameters
- celt
Type: System.UInt32
[in] The number of elements being requested.
- rgelt
Type: array<Microsoft.VisualStudio.Shell.Interop.IVsNavInfoNode[]
[out] An array of type IVsNavInfoNode that contains requested node items.
- pceltFetched
Type: System.UInt32%
[out, optional] The number of elements supplied in rgelt. Caller can pass in nulla null reference (Nothing in Visual Basic) if celt is one.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsEnumNavInfoNodes::Next(
[in] ULONG celt,
[out, size_is(celt), length_is(*pceltFetched)] IVsNavInfoNode **rgelt,
[out] ULONG *pceltFetched
);
.NET Framework Security
- 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.