[]
Initializes a new instance of the Variant with the specified boolean value.
public Variant(bool value)
| Type | Name | Description |
|---|---|---|
| bool | value | The boolean value of the Variant. |
Initializes a new instance of the Variant with the specified integer value.
public Variant(int value)
| Type | Name | Description |
|---|---|---|
| int | value | The integer value of the Variant. |
Initializes a new instance of the Variant with the specified long integer value.
public Variant(long value)
| Type | Name | Description |
|---|---|---|
| long | value | The long integer value of the Variant. |
Initializes a new instance of the Variant with the specified unsigned long integer value.
public Variant(ulong value)
| Type | Name | Description |
|---|---|---|
| ulong | value | The unsigned long integer value of the Variant. |
Initializes a new instance of the Variant with the specified double value.
public Variant(double value)
| Type | Name | Description |
|---|---|---|
| double | value | The double value of the Variant. |
Initializes a new instance of the Variant with the specified float value.
public Variant(float value)
| Type | Name | Description |
|---|---|---|
| float | value | The float value of the Variant. |
Initializes a new instance of the Variant with the specified decimal value.
public Variant(decimal value)
| Type | Name | Description |
|---|---|---|
| decimal | value | The decimal value of the Variant. |
Initializes a new instance of the Variant with the specified char value.
public Variant(char value)
| Type | Name | Description |
|---|---|---|
| char | value | The char value of the Variant. |
Initializes a new instance of the Variant with the string value.
public Variant(string value)
| Type | Name | Description |
|---|---|---|
| string | value | The string value of the Variant. |
Initializes a new instance of the Variant with the TimeSpan value.
public Variant(TimeSpan value)
| Type | Name | Description |
|---|---|---|
| TimeSpan | value | The TimeSpan value of the Variant. |
Initializes a new instance of the Variant with the DateTime value.
public Variant(DateTime value)
| Type | Name | Description |
|---|---|---|
| DateTime | value | The DateTime value of the Variant. |