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:
- The object with the same namespace as its window or container object.
- The object without a namespace.
- The object with a different namespace that is included in the Using directive of the window or container object.