Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

IMetaDataImport::GetScopeProps Method

Gets the name and optionally the version identifier of the assembly or module in the current metadata scope.

HRESULT GetScopeProps (
   [out] LPWSTR           szName,
   [in]  ULONG            cchName,
   [out] ULONG            *pchName,
   [out, optional] GUID   *pmvid

[out] A buffer for the assembly or module name.


[in] The size in wide characters of szName.


[out] The number of wide characters returned in szName.


[out, optional] A pointer to a GUID that uniquely identifies the version of the assembly or module.

The IMetaDataEmit::SetModuleProps method is used to set these properties.

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.