Information Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Information
module contains the procedures used to return, test for, or verify information.
public ref class Information sealed
[Microsoft.VisualBasic.CompilerServices.StandardModule]
public sealed class Information
[<Microsoft.VisualBasic.CompilerServices.StandardModule>]
type Information = class
Public Module Information
- Inheritance
-
Information
- Attributes
Examples
The following example uses the VbTypeName
function to return data type names for several variables.
Dim sysDateName As String = "System.DateTime"
Dim sysShortName As String = "Int16"
Dim sysBadName As String = "Nonsense"
Dim testVbName As String
testVbName = VbTypeName(sysDateName)
' Returns "Date".
testVbName = VbTypeName(sysShortName)
' Returns "Short".
testVbName = VbTypeName(sysBadName)
' Returns Nothing.
Remarks
This module supports the Visual Basic language keywords and run-time library members that provide error information, validate data, determine array bounds, and retrieve data type and color information.
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Erl() |
Returns an integer indicating the line number of the last executed statement. Read-only. |
Err() |
Contains information about run-time errors. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
IsArray(Object) |
Returns a |
IsDate(Object) |
Returns a |
IsDBNull(Object) |
Returns a |
IsError(Object) |
Returns a |
IsNothing(Object) |
Returns a |
IsNumeric(Object) |
Returns a |
IsReference(Object) |
Returns a |
LBound(Array, Int32) |
Returns the lowest available subscript for the indicated dimension of an array. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
QBColor(Int32) |
Returns an |
RGB(Int32, Int32, Int32) |
Returns an |
SystemTypeName(String) |
Returns a |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
TypeName(Object) |
Returns a |
UBound(Array, Int32) |
Returns the highest available subscript for the indicated dimension of an array. |
VarType(Object) |
Returns an |
VbTypeName(String) |
Returns a |