COR_VERSION 結構COR_VERSION Structure

儲存通用語言執行平台的標準四部分版本號碼。Stores the standard four-part version number of the common language runtime.

語法Syntax

typedef struct _COR_VERSION {  
    DWORD dwMajor;  
    DWORD dwMinor;  
    DWORD dwBuild;  
    DWORD dwSubBuild;  
} COR_VERSION;  

成員Members

memberMember 描述Description
dwMajor 主要版本號碼。The major version number.
dwMinor 次要版本號碼。The minor version number.
dwBuild 組建編號。The build number.
dwSubBuild 子組建編號。The sub-build number.

備註Remarks

如果版本號碼是1.0.3705.288,1是主要版本號碼,0是次要版本號碼,3705是組建編號,而288是子組建編號。If the version number is 1.0.3705.288, 1 is the major version number, 0 is the minor version number, 3705 is the build number, and 288 is the sub-build number.

規格需求Requirements

平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: Cordebug.h .idlHeader: CorDebug.idl

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 2.0 起可用Available since 2.0.NET Framework Versions: 自 2.0 起可用Available since 2.0

另請參閱See also