Referencing Classes in Another .NET Script from a .NET Script

To use classes defined in another .NET script in a .NET script, add a reference to the other .NET script to the .NET script.

  1. Right-click in the Properties pane and then choose Add .NET Script Reference. The Browse for .NET Script dialog box opens.
  2. Select which .NET scripts the dialog box should display:
    • To display all .NET scripts created by you, click By me.
    • To display all .NET scripts created by all users, click By all users.
  3. To add a .NET script from the list as a reference to the current .NET script, perform one of the following steps:
    • Double-click a .NET script from the list.
    • Select a .NET script in the list and click OK.
    • Select a .NET script in the list and click Insert & Open to add the .NET script as a reference and to open the referenced script.
The referenced .NET script displays in the References category of the Properties pane.