Access Order with Unqualified Names

By declaring and using namespaces, you can qualify objects that would otherwise have the same names. Once declared, you can call these objects without using their qualified names.

PowerBuilder .NET uses the following algorithm to determine which object to call when multiple objects have the same names in a window that belongs to a declared namespace, and that includes a Using directive for a different namespace:
  1. The object with the same namespace as its window or container object.
  2. The object without a namespace.
  3. The object with a different namespace that is included in the Using directive of the window or container object.