Information Class

Information Class

 

The Information module contains the procedures used to return, test for, or verify information.

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

System::Object
  Microsoft.VisualBasic::Information

[StandardModuleAttribute]
public ref class Information sealed 

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticErl()

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

System_CAPS_pubmethodSystem_CAPS_staticErr()

Contains information about run-time errors.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticIsArray(Object^)

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

System_CAPS_pubmethodSystem_CAPS_staticIsDate(Object^)

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

System_CAPS_pubmethodSystem_CAPS_staticIsDBNull(Object^)

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

System_CAPS_pubmethodSystem_CAPS_staticIsError(Object^)

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

System_CAPS_pubmethodSystem_CAPS_staticIsNothing(Object^)

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

System_CAPS_pubmethodSystem_CAPS_staticIsNumeric(Object^)

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

System_CAPS_pubmethodSystem_CAPS_staticIsReference(Object^)

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

System_CAPS_pubmethodSystem_CAPS_staticLBound(Array^, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticQBColor(Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticRGB(Int32, Int32, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticSystemTypeName(String^)

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

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticTypeName(Object^)

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

System_CAPS_pubmethodSystem_CAPS_staticUBound(Array^, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticVarType(Object^)

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

System_CAPS_pubmethodSystem_CAPS_staticVbTypeName(String^)

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

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.

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.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft