Edit

Share via


IMetaDataImport::GetScopeProps Method

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

Syntax

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

Parameters

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 is used to set these properties.

Requirements

Platforms: See .NET supported operating systems.

Header: Cor.h

Library: CorGuids.lib

See also