Method WriteToAsync
WriteToAsync(Stream)
Saves this node and any referenced local files into the given Stream as a KMZ archive.
Declaration
public async Task WriteToAsync(Stream writableStream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | writableStream | A writable Stream to which KMZ binary data will be written. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | The task object representing the asynchronous write operation. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.6 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.6 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.6 - 100.15 |
| Xamarin.iOS | 100.6 - 100.15 |
| UWP | 100.6 - 100.14 |
Relevant samples
Create and save KML file: Construct a KML document and save it as a KMZ file.