Show/Hide Toolbars

XSharp

Navigation: X# Documentation > X# Compiler Options > X# Compiler Options Listed Alphabetically

-vo1 Allow Init() and Axit() as aliases for Constructor and Destructor

Scroll Prev Top Next More

The -vo1 compiler option directs the compiler to treat Init() methods as constructors and Axit methods as Destructor.

Syntax

-vo1[+ | -]

Arguments

+ | - Specifying +, or just -vo1, directs the compiler to convert Init() and Axit() methods to constructors and destructors.

 

 

 

To set this compiler option in the Visual Studio development environment:

 

1.Open the project's Properties page.

2.Click the Dialect tab.

3.Change the value.

4.Click here to see the property page