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 version number of the common language runtime (CLR) that is running in this process.
Syntax
HRESULT GetVersion (
[out] COR_VERSION *version
);
Parameters
version
[out] A pointer to a COR_VERSION structure that stores the version number of the runtime.
Remarks
The GetVersion method returns an error code if no runtime has been loaded in the process.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 2.0