A reference to an object in a Storage container. A DataItem does not hold any data but has methods and properties that can be used to access the object itself and to get information about it without reading the object into memory.
URL to reference the item directly in a browser.
String CallResult property
String ContentType property
String Exists property
String ModifiedTime property
String Name property
String Size property
- AddPermissions Method
- CopyTo Method
Copies an item to a Storage container.
- Delete Method
Delete the underlying object if it exists. Returns false if an error occurs.
- Get Method
Get the data for the object. The data returned may be a blob or a string, depending on the type of the Data argument you pass.
- SaveToFile Method
Saves the data in an object to the file specified in TargetPath.
- Set Method
Sets the object value and content type based on the values passed to the function.
- SetFromFile Method
Set the object value from the file specified in SourcePath and sets the content based on ContentType.
- WriteToStream Method
Retrieves the item data and writes it to a System::IO::Stream object. The content type and length written are also returned.