Partager via


IMetaDataEmit::DefineModuleRef Method

Creates the metadata signature for a module with the specified name.

HRESULT DefineModuleRef (   
    [in]  LPCWSTR           szName, 
    [out] mdModuleRef       *pmur 
);

Parameters

Parameter Description

szName

[in] The name of the other metadata file, typically a DLL.

pmur

[out] The assigned mdModuleRef token.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataEmit Interface
IMetaDataEmit2 Interface