Table of Contents

Value

constructor in Coherence.Cloud.Value
Constructors
public Value(string value)

Initializes a new instance of the Value struct.

Parameters
Type Name Description
string value

The string value that the created instance represents.

Exceptions
Type Condition
StorageException

Thrown if the provided string is contains more than Coherence.Cloud.Value.MaxJsonLength characters.

public Value(bool value)

Initializes a new instance of the Value struct.

Parameters
Type Name Description
bool value

The bool value that the created instance represents.

public Value(int value)

Initializes a new instance of the Value struct.

Parameters
Type Name Description
int value

The int value that the created instance represents.

public Value(float value)

Initializes a new instance of the Value struct.

Parameters
Type Name Description
float value

The float value that the created instance represents.

public Value(double value)

Initializes a new instance of the Value struct.

Parameters
Type Name Description
double value

The double value that the created instance represents.

public Value(byte value)

Initializes a new instance of the Value struct.

Parameters
Type Name Description
byte value

The byte value that the created instance represents.

public Value(short value)

Initializes a new instance of the Value struct.

Parameters
Type Name Description
short value

The short value that the created instance represents.

public Value(Enum value)

Initializes a new instance of the Value struct.

Parameters
Type Name Description
Enum value

The enum value that the created instance represents.

public Value(object value)

Initializes a new instance of the Value struct.

Parameters
Type Name Description
object value

The object value that the created instance represents.