Share via


IMetaDataFilter Interface

Provides methods for marking and filtering metadata tokens to avoid repeating actions that have already been taken.

interface IMetaDataFilter : IUnknown {
        
    HRESULT IsTokenMarked (
        mdToken   tk, 
        BOOL      *pIsMarked
    );
        
    HRESULT MarkToken (
        mdToken   tk
    );
        
    HRESULT UnmarkAll ();
        
};

Methods

Method

Description

IMetaDataFilter::IsTokenMarked Method

Gets a value indicating whether the specified metadata token has been processed.

IMetaDataFilter::MarkToken Method

Sets a value indicating that the specified metadata token has been processed.

IMetaDataFilter::UnmarkAll Method

Removes the processing marks from all the tokens in the current metadata scope.

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

Concepts

Metadata Interfaces