As
method in Coherence.Cloud.Value
Methods
public T As<T>()
Converts the serialized value into an object of type
Returns
| Type | Description |
|---|---|
| T | A new object of type |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the result. |
Exceptions
| Type | Condition |
|---|---|
| StorageException | Thrown if the value cannot be deserialized as |
public bool As<T>(out T value)
Converts the serialized value into an object of type
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The deserialized value, if the value could be deserialized as |
Returns
| Type | Description |
|---|---|
| bool | true if the value could be deserialized into an object of type |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the result. |