Name
TypeName Function
Class
Microsoft.VisualBasic.Information
Syntax
TypeName(varname
)
-
varname
Use: Required
Type: 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
varname
is declared as type Object, it returns the data subtype that has been assigned to it.varname
returns the data type name of all value types. It returnsNothing
for uninitialized reference ...
Get VB .NET Language in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.