Compartir a través de


IMetaDataImport::IsGlobal Method

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

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: 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

Concepts

IMetaDataImport Interface

IMetaDataImport2 Interface