Agilent Technologies VEE Pro Betriebsanweisung Seite 323

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 602
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 322
Using .NET with VEE 7
VEE User’s Guide 295
Table 3 2 Converting VEE data types to .NET scalar data types in VEE 7.0
System.String Text VEE automatically converts String to Text. If you
want to use the many useful functionalities in the
System.String class, you may use asClrType() to
convert the text back to System.String, e.g.,
Set
dotNetString =
asClrType(veeText,
System.String);
ModifiedString =
dotnetString.Replace(“ “,”_”);
Also see examples\dotnet\
stringsplit.vee
for an example
System.UInt16 Object You can use a System.Convert.To* method to convert
it to a .NET data type that VEE can convert
automatically, e.g., ToInt32().
System.UInt32 Object You can use a System.Convert.To* method to convert
it to a .NET data type that VEE can convert
automatically, e.g., ToInt32(). If the value does not fit
in an Int32, an error 751 occurs indicating a
System.OverflowException.
System.UInt64 Object You can use a System.Convert.To* method to convert
it to a .NET data type that VEE can convert
automatically, e.g., ToInt32(). If the value does not fit
in an Int32, an error 751 will occur indicating a
System.OverflowException.
System.Object Object
Convert From VEE Data
Ty pe
Convert To .NET Data
Ty pe
Notes
Int16 System.Int16 Use asClrType() to convert to other .NET/CLR
types. See asClrType() documentation.
Int32 System.Int32 Use asClrType() to convert to other .NET/CLR
types. See asClrType() documentation.
Seitenansicht 322
1 2 ... 318 319 320 321 322 323 324 325 326 327 328 ... 601 602

Kommentare zu diesen Handbüchern

Keine Kommentare