หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
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