IMetaDataImport::GetModuleRefProps Method

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

HRESULT GetModuleRefProps (
    mdModuleRef         mur,
    LPWSTR              szName, 
    ULONG               cchName, 
    ULONG               *pchName 
);

Parameters

Parameter Description

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

Reference

IMetaDataImport Interface
IMetaDataImport2 Interface