[]
        
(Showing Draft Content)

GrapeCity.Enterprise.Data.Expressions.Evaluation.Variant.-ctor

Variant Constructor

Variant(bool)

Initializes a new instance of the Variant with the specified boolean value.

Declaration
public Variant(bool value)
Parameters
Type Name Description
bool value

The boolean value of the Variant.

Variant(int)

Initializes a new instance of the Variant with the specified integer value.

Declaration
public Variant(int value)
Parameters
Type Name Description
int value

The integer value of the Variant.

Variant(long)

Initializes a new instance of the Variant with the specified long integer value.

Declaration
public Variant(long value)
Parameters
Type Name Description
long value

The long integer value of the Variant.

Variant(ulong)

Initializes a new instance of the Variant with the specified unsigned long integer value.

Declaration
[CLSCompliant(false)]
public Variant(ulong value)
Parameters
Type Name Description
ulong value

The unsigned long integer value of the Variant.

Variant(double)

Initializes a new instance of the Variant with the specified double value.

Declaration
public Variant(double value)
Parameters
Type Name Description
double value

The double value of the Variant.

Variant(float)

Initializes a new instance of the Variant with the specified float value.

Declaration
public Variant(float value)
Parameters
Type Name Description
float value

The float value of the Variant.

Variant(decimal)

Initializes a new instance of the Variant with the specified decimal value.

Declaration
public Variant(decimal value)
Parameters
Type Name Description
decimal value

The decimal value of the Variant.

Variant(char)

Initializes a new instance of the Variant with the specified char value.

Declaration
public Variant(char value)
Parameters
Type Name Description
char value

The char value of the Variant.

Variant(string)

Initializes a new instance of the Variant with the string value.

Declaration
public Variant(string value)
Parameters
Type Name Description
string value

The string value of the Variant.

Variant(TimeSpan)

Initializes a new instance of the Variant with the TimeSpan value.

Declaration
public Variant(TimeSpan value)
Parameters
Type Name Description
TimeSpan value

The TimeSpan value of the Variant.

Variant(DateTime)

Initializes a new instance of the Variant with the DateTime value.

Declaration
public Variant(DateTime value)
Parameters
Type Name Description
DateTime value

The DateTime value of the Variant.