April 2002
Intermediate to advanced
688 pages
19h 51m
English
GetType Operator
GetType(typename)typename (required; n/a)The name of a type
A Type object containing information about
typename
Returns type information about a particular type, such as a class, interface, enumeration, delegate, or structure.
typename must be the name of a valid type.
Passing an instance variable to typename
generates a compiler error.
If you don’t know the name of the type about which you’d like to get information, but you do have an object instance of that type, you can instead retrieve a Type object using the Type.GetType method.
The GetType operator is new to VB.NET
Read now
Unlock full access