Delen via


IMetaDataImport::GetModuleFromScope Method

Gets a metadata token for the module referenced in the current metadata scope.

HRESULT GetModuleFromScope (
   [out] mdModule    *pmd
);

Parameters

  • pmd
    [out] A pointer to the token representing the module referenced in the current metadata scope.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: 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