Export (0) Print
Expand All
Expand Minimize

'Global' must be followed by '.' and an identifier 

The Global keyword appears in a context other than accessing a namespace.

The purpose of Global is to allow your code to access a root-level namespace from inside a namespace structure that has blocked the root-level namespace.

Error ID: BC36000

To correct this error

  • If you want to access a root-level namespace, specify it following the Global keyword and a period (.).

    Dim keyInfo As Global.System.ConsoleKeyInfo
    
  • If you do not want to access a root-level namespace, remove the Global keyword.

See Also

Reference

Global

Community Additions

ADD
Show:
© 2015 Microsoft