Name
TypeName Function
Class
Microsoft.VisualBasic.Information
Syntax
TypeName(varname)-
varname(required; String literal) Name of a variable
Return Value
String
Description
Returns a string giving data type information about
varname. The possible return values are:
|
String returned |
Variable contents |
|---|---|
|
|
8-bit |
|
|
8-bit binary value type |
|
|
16-bit character value type |
|
|
64-bit date and time value type |
|
|
Reference type indicating missing or nonexistent data |
|
|
96-bit fixed point numeric value type |
|
|
64-bit floating point numeric value type |
|
|
|
|
|
32-bit integer value type |
|
|
64-bit integer value type |
|
|
Object variable with no object currently assigned to it, uninitialized string, or undimensioned array |
|
|
Reference type pointing to an unspecialized object |
|
|
16-bit integer value type |
|
|
32-bit floating point numeric value type |
|
|
Reference type pointing to a string of 16-bit characters |
|
< |
Reference type pointing to a specialized object created from class
|
|
< |
A variable created from a structure or user-defined type named
|
|
< |
Dimensioned array |
Rules at a Glance
If
varnameis declared as type Object, it returns the data subtype that has been assigned to it.varnamereturns the data type name of all value types. It returnsNothingfor uninitialized reference types and the data ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access