Delen via


IMetaDataTables2 Interface

Extends IMetaDataTables to include methods for working with metadata streams.

interface IMetaDataTables2 : IMetaDataTables {
    
    HRESULT GetMetaDataStorage (
        const void   **ppvMd,
        ULONG        *pcbMd
    );
    
    HRESULT GetMetaDataStreamInfo (
        ULONG        ix,
        const char   **ppchName,
        const void   **ppv,
        ULONG        *pcb
    );
    
};

Methods

Method

Description

IMetaDataTables2::GetMetaDataStorage Method

Gets the size and contents of the metadata stored in the specified section.

IMetaDataTables2::GetMetaDataStreamInfo Method

Gets the name, size, and contents of the metadata stream at the specified index.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

IMetaDataTables Interface

Other Resources

Metadata Interfaces