Use the Extract command from the Classes, Methods, or Types menu in the Class Browser or Primitive Types Browser to save a selected class, method, or all methods in a selected primitive type for extraction to a file.
Use the Extract All command from the Classes menu in the Class Browser to extract the selected class and all subclasses, if applicable.
For details about extracting a specific interface, see "Extracting an Interface", in Chapter 14.
If you want to encrypt your extracted class, method, or primitive type methods, you must use the Selective sheet of the Extract dialog to select the element that you want to extract and then check the Encrypt Sources check box in the Extract dialog Schema Options sheet. (The common Save As dialog does not enable you to encrypt the saved file.)
You can also extract an external database schema, an ActiveX type or .NET library, a relational view, an exposure, a method view, an RPS mapping, or a .NET exposure. For details, see "
For details about loading an extracted class or method in a multiple schemas file (.mul), see "Multiple Schema File Syntax", earlier in this chapter.
The Extract or Extract All command is a quick means of extracting a class, method, or primitive type user-defined methods for:
A backup
Passing the code to another user
Reconstructing the extracted class or method
The class, primitive type, or method Extract or Extract All command is a simpler, faster way to extract an individual method, class, all user-defined methods in a primitive type, or class and subclasses than performing a selective extract of your schema.
When you extract a class, its associated methods, properties, and so on are also extracted. When you extract a selected primitive type, its associated methods are extracted.
You can extract only user-defined classes or methods.