Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Gets the number of local variables in the stack frame method.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.
Syntax
HRESULT GetNumLocalVariables(
[out] ULONG32 *numLocals
);
Parameters
numLocals
[out] The number of local variables in the stack frame method.
Remarks
The provided method is part of the IXCLRDataFrame interface and corresponds to the 9th slot of the virtual method table.
Requirements
Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7