Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

Using Our Data Type

generated description: usingdatatype 20111

Once we have created (and compiled) our Duration class, we can return to the Film class and add a new property named Length (again using the Add New Property wizard within the Class menu). It's datatype is Cinema.DurationOpens in a new tab, the class we just created. We simply select it from the Type list, just as we would a built-in data type.

FeedbackOpens in a new tab