User`s guide

300 VEE User’s Guide
7 Using .NET with VEE
Table 3 5 .NET Data Type Modifers
Calling an Instance Method
When calling an instance method, be sure to declare and
create the .NET object first. It is recommended that you use
the Function & Object Browser and the Create Instance
button to generate the constructor formula template first.
Figure 173 illustrates an example.
In Figure 170, fileInfo is initialized as System.IO.FileInfo
object. You can wire the fileInfo output pin to the input pin
of any subsequent formula boxes that require this object
instance. Also note, that both the CreateInstance and
fileInfo.LastAccessTime formula boxes are created by VEE
automatically. All you need to do is wire them together and
provide any additional parameters.
Figure 170 Creating a .NET Object and Accessing Its Instance Member
.NET data type
modifiers
VEE Type Notes
ref, out, ByRef Either scaler or array of
the type indicated by
the mapping table
above
Use the VEE keyword ByRef. Not using the
ByRef keyword will not cause a .NET
operation exception, but the passed-in
parameter will not be changed. This is
probably not what the .NET class designer
intended.