FileSystemCreateWritableOptions Class
The options of FileSystemFileHandle.CreateWritable (https://fs.spec.whatwg.org/#dictdef-filesystemcreatewritableoptions).
public sealed class FileSystemCreateWritableOptionsConstructors
| Name | Description |
|---|---|
| FileSystemCreateWritableOptions() |
FileSystemCreateWritableOptions()
FileSystemFileHandle.cspublic FileSystemCreateWritableOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| KeepExistingData | Gets whether the stream starts with the content of the file (it starts empty by default). |
| Mode | Gets the locking mode of the stream, a member that Chromium implements and that is not in the File System Standard yet: siloed (the default, the shared lock of the specification: several streams can write the file, and the last one that is closed wins) or exclusive (no other stream can be created). |
KeepExistingData
FileSystemFileHandle.csGets whether the stream starts with the content of the file (it starts empty by default).
public bool KeepExistingData { get; init; }Property value
See also
- Experimental (WEBPLATEXP0007)
Gets the locking mode of the stream, a member that Chromium implements and that is not in the File System Standard yet: siloed (the default, the shared lock of the specification: several streams can write the file, and the last one that is closed wins) or exclusive (no other stream can be created).
[Experimental("WEBPLATEXP0007", UrlFormat = "https://github.com/meziantou/Meziantou.Framework/blob/main/src/Meziantou.Framework.WebPlatform/docs/experimental-apis.md#{0}")]
public string Mode { get; init; }