IMetaDataImport2::GetVersionString Method
Gets the version number of the runtime that was used to build the assembly.
Syntax
HRESULT GetVersionString (
[out] LPWSTR pwzBuf,
[in] DWORD ccBufSize,
[out] DWORD *pccBufSize
);
Parameters
pwzBuf
[out] An array to store the string that specifies the version.
ccBufSize
[in] The size, in wide characters, of the pwzBuf
array.
pccBufSize
[out] The number of wide characters, including a null terminator, returned in the pwzBuf
array.
Remarks
The GetVersionString
method gets the built-for version of the current metadata scope. If the scope has never been saved, it will not have a built-for version, and an empty string will be returned.
Requirements
Platforms: See System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: Available since 2.0
See also
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru