Table of Contents

StorageObject

class in Coherence.Cloud

A read-only container of storage items loaded from CloudStorage.

Constructors
StorageObject

Initializes a new instance of the StorageObject class.

Properties
Count

Gets the number of items in the storage object.

Item

Gets or sets the value associated with the specified key.

Keys

Gets a collection containing the keys in the storage object.

ObjectId

Gets the identifier of the storage object.

Values

Gets a collection containing the values in the storage object.

Methods
Clear

Removes all items from the storage object.

Contains

Determines whether the storage object contains the specified item.

ContainsKey

Determines whether the storage object contains the specified key.

Remove

Removes the value associated with the specified key from the storage object.

RemoveItems

Removes items with the specified items from the storage object.

Set

Sets the value associated with the specified key.

Any existing values in the storage object associated with the specified key will be replaced.

SetItems

Sets the values associated with the specified keys.

Any existing values in the storage object associated with the specified keys will be replaced.

TryGetValue

Gets the value associated with the specified key.

See Also
LoadObjectAsync(StorageObjectId, CancellationToken)