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
'宣言
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, _
pceltFetched)
int Next(
uint celt,
uint[] rgFrameworks,
out uint pceltFetched
)
int Next(
[InAttribute] unsigned int celt,
[OutAttribute] array<unsigned int>^ rgFrameworks,
[OutAttribute] unsigned int% pceltFetched
)
function Next(
celt : uint,
rgFrameworks : uint[],
pceltFetched : uint
) : int
Parameters
celt
Type: System.UInt32The number of target framework versions.
rgFrameworks
Type: []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
);
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.