Type of identifier

The TYPE OF identifier obtains the System.Type object for a class, interface, delegate or enumeration.

General Format

NET TYPE OF identifier-1

Syntax Rules


  1. NET Identifier-1 must reference a class, an interface, a delegate or an enumeration.

General Rules


  1. NET Type-of-identifier creates a unique data item that contains the System.Type object for identifier-1.