Delen 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 (
   [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 Framework System Requirements.

Header: Cor.h

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

Reference

IMetaDataImport Interface

IMetaDataImport2 Interface