StorageObjectLoadPayload Method (Byte, String) |
Loads a StorageObject's contents from a byte array.
Namespace: Oracle.Cloud.Mobile.StorageAssembly: Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntaxpublic void LoadPayload(
byte[] payload,
string contentType
)
Public Sub LoadPayload (
payload As Byte(),
contentType As String
)
public:
void LoadPayload(
array<unsigned char>^ payload,
String^ contentType
)
member LoadPayload :
payload : byte[] *
contentType : string -> unit
Parameters
- payload
- Type: SystemByte
The byte array to populate the contents of the StorageObject from. The Storage Object holds on to a reference to payload. - contentType
- Type: SystemString
The media-type to associate with the content.
See Also