User Tools

Site Tools


typeof_get_system_type_object_.htm
Navigation:  Clarion.Net (Clarion#) > Clarion# Language Extensions > Operators >====== TYPEOF (Get System.Type object) ====== Previous pageReturn to chapter overviewNext page

NewCNet.jpg

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. &amp;BYTE) and arrays ( i.e. BYTE[]).

blk2blue.jpg

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)

typeof_get_system_type_object_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1