Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 tk,
  [out] int     *pbIsGlobal
);

Parameters

tk [in]

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

pbIsGlobal [out]

1 if the object has global scope; otherwise, 0 (zero).

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show:
© 2017 Microsoft