IMetaDataImport::GetScopeProps Method
Gets the name and optionally the version identifier of the assembly or module in the current metadata scope.
HRESULT GetScopeProps (
LPWSTR szName,
ULONG cchName,
ULONG *pchName,
GUID *pmvid
);
Parameters
Parameter | Description |
---|---|
szName |
[out] A buffer for the assembly or module name. |
cchName |
[in] The size in wide characters of szName. |
pchName |
[out] The number of wide characters returned in szName. |
pmvid |
[out, optional] A pointer to a GUID that uniquely identifies the version of the assembly or module. |
Remarks
The IMetaDataEmit::SetModuleProps Method method is used to set these properties.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: Cor.h
Library: Included as a resource in Mscoree.dll
.NET Framework Version: 2.0, 1.1, 1.0