ICorDebugMergedAssemblyRecord::GetVersion 方法
取得組件的版本資訊。
語法
HRESULT GetVersion(
[out] USHORT *pMajor,
[out] USHORT *pMinor,
[out] USHORT *pBuild,
[out] USHORT *pRevision
);
參數
pMajor
[out]主要版本號碼的指標。
pMinor
[out]次要版本號碼的指標。
pBuild
[out]組建編號的指標。
pRevision
[out]修訂編號的指標。
備註
如需組件版本號碼的相關資訊,請參閱 Version 類別主題。
注意
這個方法僅適用於 .NET Native。
需求
平台:請參閱系統需求。
標頭:CorDebug.idl、CorDebug.h
程式庫:CorGuids.lib
.NET Framework 版本: 僅適用於 4.6、.NET Native