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: See .NET Framework System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

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

See Also

Reference

IMetaDataImport Interface

IMetaDataImport2 Interface