Delen 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: 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, 1.1, 1.0

See Also

Other Resources

Metadata Interfaces