|Navigation: Clarion.Net (Clarion#) > Clarion# Language Extensions > Operators >====== TYPEOF (Get System.Type object) ======|
TYPEOF (<;name of type>)
|TYPEOF||Used to obtain the System.Type object for a given type.|
|name of type||any type including references (i.e. &BYTE) and arrays ( i.e. BYTE).|
TYPEOF returns the System.Type object for the given name of type. Using the members of Type object you can retrieve different information about type.
The TYPEOF and IS operators are new to Clarion .NET. They are analogous to both TYPEOF and IS operators found in the C# language.
See Also: IS (Check object type)