Information Information Information Information Class

Definition

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
type Information = class
Public Module Information
Inheritance
InformationInformationInformationInformation
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) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Erl() Erl() Erl() Erl()

Returns an integer indicating the line number of the last executed statement. Read-only.

Err() Err() Err() Err()

Contains information about run-time errors.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsArray(Object) IsArray(Object) IsArray(Object) IsArray(Object)

Returns a Boolean value indicating whether a variable points to an array.

IsDate(Object) IsDate(Object) IsDate(Object) IsDate(Object)

Returns a Boolean value indicating whether an expression represents a valid Date value.

IsDBNull(Object) IsDBNull(Object) IsDBNull(Object) IsDBNull(Object)

Returns a Boolean value indicating whether an expression evaluates to the DBNull class.

IsError(Object) IsError(Object) IsError(Object) IsError(Object)

Returns a Boolean value indicating whether an expression is an exception type.

IsNothing(Object) IsNothing(Object) IsNothing(Object) IsNothing(Object)

Returns a Boolean value indicating whether an expression has no object assigned to it.

IsNumeric(Object) IsNumeric(Object) IsNumeric(Object) IsNumeric(Object)

Returns a Boolean value indicating whether an expression can be evaluated as a number.

IsReference(Object) IsReference(Object) IsReference(Object) IsReference(Object)

Returns a Boolean value indicating whether an expression evaluates to a reference type.

LBound(Array, Int32) LBound(Array, Int32) LBound(Array, Int32) LBound(Array, Int32)

Returns the lowest available subscript for the indicated dimension of an array.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
QBColor(Int32) QBColor(Int32) QBColor(Int32) QBColor(Int32)

Returns an Integer value representing the RGB color code corresponding to the specified color number.

RGB(Int32, Int32, Int32) RGB(Int32, Int32, Int32) RGB(Int32, Int32, Int32) RGB(Int32, Int32, Int32)

Returns an Integer value representing an RGB color value from a set of red, green and blue color components.

SystemTypeName(String) SystemTypeName(String) SystemTypeName(String) SystemTypeName(String)

Returns a String value containing the system data type name of a variable.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
TypeName(Object) TypeName(Object) TypeName(Object) TypeName(Object)

Returns a String value containing data-type information about a variable.

UBound(Array, Int32) UBound(Array, Int32) UBound(Array, Int32) UBound(Array, Int32)

Returns the highest available subscript for the indicated dimension of an array.

VarType(Object) VarType(Object) VarType(Object) VarType(Object)

Returns an Integer value containing the data type classification of a variable.

VbTypeName(String) VbTypeName(String) VbTypeName(String) VbTypeName(String)

Returns a String value containing the Visual Basic data type name of a variable.

Applies to

See also