NETLink`
NETLink`

StaticsVisible

StaticsVisible

is an option to LoadNETType that specifies whether the class-specific context in which static method and field definitions are created should be placed on $ContextPath.

Details and Options

  • To use StaticsVisible, you first need to load .NET/Link using Needs["NETLink`"].
  • If you load a class named "com.sub.Class" containing a static method named func, with the option StaticsVisible->False, you would have to write Class`func[args].
  • The default setting is False, to eliminate the possibility of name conflicts leading to shadowing problems.