Click or drag to resize
StorageObject Class
Class that represents a storage object resource that can be used to store data.
Inheritance Hierarchy
SystemObject
  Oracle.Cloud.Mobile.StorageStorageObject

Namespace: Oracle.Cloud.Mobile.Storage
Assembly: Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntax
public sealed class StorageObject

The StorageObject type exposes the following members.

Constructors
  NameDescription
Public methodStorageObject
Creates a new StorageObject to be associated with a Storage Collection. The StorageObject's content needs to be populated before being uploaded to the Service.
Top
Properties
  NameDescription
Public propertyCanonicalLink
Relative URI of the underlying StorageObject resource.
Public propertyContentLength
The length of data content in bytes stored in the StorageObject.
Public propertyContentType
The media-type associated with the StorageObject.
Public propertyCreatedBy
The name of the user who created the StorageObject.
Public propertyCreatedOn
Server generated timestamp when the StorageObject was created.
Public propertyId
A service generated ID for the StorageObject. The ID is unique in the StorageCollection.
Public propertyModifiedBy
The name of the user who last updated the StorageObject.
Public propertyModifiedOn
Server generated timestamp when the StorageObject was last updated.
Public propertyName
A user provided name for the StorageObject. A StorageCollection may have multiple StorageObjects with the same name.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadPayload(Byte, String)
Loads a StorageObject's contents from a byte array.
Public methodLoadPayload(Stream, String)
Loads a StorageObject's contents from a stream.
Public methodLoadPayload(String, String)
Loads a StorageObject's contents from a string.
Public methodReadAsBytesAsync
Returns the contents of the StorageObject as a byte array. May result in a download from the service if the contents were not previously downloaded.
Public methodReadAsStreamAsync
Returns the contents of the StorageObject as a stream. May result in a download from the service if the contents were not previously downloaded.
Public methodReadAsStringAsync
Returns the contents of the Storage Object as a string. May result in a download from the service if the contents were not previously downloaded.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also