Share via


IMetaDataImport::GetModuleRefProps Method

Gets the name of the module referenced by the specified metadata token.

HRESULT GetModuleRefProps (
      [in]  mdModuleRef         mur,
      [out] LPWSTR              szName, 
      [in]  ULONG               cchName, 
      [out] ULONG               *pchName 
);

Parameters

  • mur
    [in] The ModuleRef metadata token that references the module to get metadata information for.

  • szName
    [out] A buffer to hold the module name.

  • cchName
    [in] The requested size of szName in wide characters.

  • pchName
    [out] The returned size of szName in wide characters.

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

See Also

Concepts

IMetaDataImport Interface

IMetaDataImport2 Interface