Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
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