IMetaDataConverter::GetMetaDataFromTypeInfo Method

Gets a pointer to an IMetaDataImport instance that represents the metadata signature of the type library referenced by the specified ITypeInfo instance.

Syntax

HRESULT GetMetaDataFromTypeInfo (  
    [in]  ITypeInfo         *pITI,  
    [out] IMetaDataImport   **ppMDI  
);  

Parameters

pITI
[in] A pointer to an ITypeInfo object that refers to the type library.

ppMDI
[out] A 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