Report Manager Documentation

Variant Members

Variant overview

Public Static Methods

VariantFromObject This function creates a Variant from a object

Public Static Operators and Type Conversions

Addition Operator Binary add arithmetic operator
Bitwise And Operator Binary and logic operator
Bitwise Or Operator Binary or logic operator
Division Operator Binary division arithmetic operator
Equality Operator Compare two variants
Greater Than Operator Compare two Variants
Greater Than Or Equal Operator Compare two Variants
Inequality Operator Compare two Variants
Less Than Operator Compare two Variants
Less Than Or Equal Operator Compare two Variants
Multiplication Operator Binary multiplier arithmetic operator
Subtraction Operator Binary substraction arithmetic operator
Unary Negation Operator Unary sign arithmetic operator
Implicit Variant to Boolean Conversion Implicit conversion from Variant to bool
Implicit Variant to Byte Conversion Implicit conversion from Variant to byte
Implicit Variant to Char Conversion Implicit conversion from Variant to char
Implicit Variant to DateTime Conversion Implicit conversion from Variant to DateTime
Implicit Variant to Decimal Conversion Implicit conversion from Variant to decimal
Implicit Variant to Double Conversion Implicit conversion from Variant to double
Implicit Variant to Int32 Conversion Implicit conversion from Variant to int
Implicit Variant to String Conversion Implicit conversion from Variant to string
Implicit Boolean to Variant Conversion Assigns a bool value to a Variant
Implicit Byte to Variant Conversion Assigns a byre value to a Variant
Implicit Char to Variant Conversion Gets the stream on a binary type Variant
Implicit DateTime to Variant Conversion Assigns a DateTime value to a Variant
Implicit Decimal to Variant Conversion Assigns a decimal value to a Variant
Implicit Double to Variant Conversion Assigns a double value to a Variant
Implicit Int32 to Variant Conversion Assigns an int value to a Variant
Implicit Int64 to Variant Conversion Assigns a long value to a Variant
Implicit String to Variant Conversion Assigns a string value to a Variant

Public Instance Properties

AsDouble Property to get the variant value as a double
AsInteger Property to get the variant value as an int
AsLong Property to get the variant value as a long
AsString Property to get the variant value as a string
IsNull Function to check if the current value is null.
VarType Function to check the variant type.

Public Instance Methods

AsObject Get the Variant as an object
AssignFromObject Procedure to assign a Variant from any object type
CompareTo Compare to other Variant
Equals Compare a Variant with a object
GetDbType Returns a DbType based on the Variant type
GetHashCode Necessary to override == operator
GetStream Gets the stream on a binary type Variant
GetType (inherited from Object) 
GetTypeCode Returns a TypeCode based on the Variant type
GetTypeString Function to get the type of the value as a string.
IsBoolean Function to check if the current value is a boolean value.
IsInteger Function to check if the current value is an integer value.
IsNumber Function to check if the current value is a number.
IsString Function to check if the current value is a string value.
SetStream Assigns a memory stream to a Variant
ToStringOverloaded. Returns the value of a Variant as a string

See Also

Variant Class | Reportman.Reporting Namespace