Edit

Share via


IMetaDataImport::IsGlobal Method

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

Syntax

HRESULT IsGlobal (
   [in]  mdToken     pd,
   [out] int         *pbGlobal
);

Parameters

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

pbGlobal [out] 1 if the object has global scope; otherwise, 0 (zero).

Requirements

Platforms: See .NET supported operating systems.

Header: Cor.h

Library: CorGuids.lib

See also