IMetaDataConverter::GetMetaDataFromTypeLib Method

Gets an interface pointer to an IMetaDataImport instance that represents the metadata signature of the type library represented by the specified ITypeLib instance.

Syntax

HRESULT GetMetaDataFromTypeLib (  
    [in]  ITypeLib        *pITL,
    [out] IMetaDataImport **ppMDI  
);  

Parameters

pITL
[in] Pointer to an ITypeLib object that represents the type library.

ppMDI
[out] Pointer to a location that receives the address of the IMetaDataImport instance that represents the metadata signature.

Requirements

Platform: See System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: Available since 1.0

See also