Partilhar via


IMetaDataImport::IsGlobal Method

Gets a value indicating whether the field, method, or type represented by the specified metadata token has global scope.

HRESULT IsGlobal (
    mdToken     pd,
    int         *pbGlobal
);

Parameters

Parameter Description

pd

[in] A metadata token that represents a type, field, or method.

pbGlobal

[out] 1 if the object has global scope; otherwise, zero.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Included as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataImport Interface
IMetaDataImport2 Interface