Report Manager Documentation

Variant Methods

The methods of the Variant structure are listed below. For a complete list of Variant structure members, see the Variant Members topic.

Public Static Methods

VariantFromObject This function creates a Variant from a object

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