RAD Studio (Common)
ContentsIndex
PreviousUpNext
Finding Units and Using Namespaces (Delphi, C#)

Depending on which language you are using, you can use a refactoring feature to locate namespaces or units. If you are using C#, you can use the Use Namespace command to import namespaces into your code files, based on an object in your code. If you are using Delphi, you can use the Find Unit command to locate and add units to your code file based on objects in your code. 

The Use Namespace dialog appears when you select a C# object name and select the Use Namespace command. The import operation attempts to identify and display the most likely namespaces. You can select multiple namespaces to add to the using clause. The feature works identically in Delphi, although in a Delphi project, the operation attempts to find the appropriate unit containing the definition of the selected object, then adds the selected unit to the uses clause.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!