API Referenceglobal
Entryclass
A folder of content stored on disk
object→Entry
Constructors1
Showing 1 constructors
public Entry(string type)
Creates a new storage entry with the specified type
| Parameter | Type | Description |
|---|---|---|
| type | string | The content type (letters only, 1-16 characters) |
No results match this filter.
Methods6
Showing 6 methods
public void Delete()
Deletes this storage entry and all its files from disk
Returns:
void—public T GetMeta(string key, T defaultValue = null)
Get a meta value
| Parameter | Type | Description |
|---|---|---|
| key | string | — |
| defaultValue = null | T | — |
Returns:
T—public void SetMeta(string key, T value)
Set a meta value
| Parameter | Type | Description |
|---|---|---|
| key | string | — |
| value | T | — |
Returns:
void—No results match this filter.
Properties5
Showing 5 properties
public System.DateTimeOffset Sandbox.Storage.Entry.Created { get; set; }
When this content was created
Returns:
DateTimeOffset—public Sandbox.BaseFileSystem Sandbox.Storage.Entry.Files { get; set; }
This is where you save and load your files to
public string Sandbox.Storage.Entry.Id { get; set; }
The identity of this content
Returns:
string—No results match this filter.