Partilhar via


IMetaDataValidate Interface

Provides methods to validate metadata signatures.

interface IMetaDataValidate : IUnknown {
        
    HRESULT ValidatorInit (
        DWORD       dwModuleType,
        IUnknown    *pUnk
    );
        
    HRESULT ValidateMetaData ();
        
};

Methods

Method Description

IMetaDataValidate::ValidateMetaData Method

Validates the metadata signatures of the objects in the current metadata scope.

IMetaDataValidate::ValidatorInit Method

Sets a flag that specifies the type of the module in the current metadata scope, and registers the specified callback method for validation errors.

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

Other Resources

Metadata Interfaces
Overview of Metadata