Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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
[out] pwzBuf
An array to store the string that specifies the version.
[in] ccBufSize
The size, in wide characters, of the pwzBuf array.
[out] pccBufSize
The number of wide characters, including a null terminator, returned in the pwzBuf array.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | rometadataapi.h |