^TYPEOF

Return System.Type object

 

 

 

NSupported in Synergy .NET
^TYPEOF(type)

Arguments

type

The ID of the type for which to obtain a System.Type object.

Discussion

Given the name of a type, ^TYPEOF returns the System.Type object for that type.

Examples

The example below returns the System.Type object for ns1.class1.

main
record
    t   ,@Type
proc
    t = ^typeof(ns1.class1)
    console.writeline(t)
end