Method WriteToAsync
WriteToAsync(Stream)
Saves this node and any referenced local files into the given System.IO.Stream as a KMZ archive.
Declaration
public async Task WriteToAsync(Stream writableStream)
Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.Stream | writableStream | A writable System.IO.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 | 
|---|---|
| System.ArgumentNullException | 
  | 
    
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.6 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.2 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.6 - 200.8 | 
| Xamarin.Android | 100.6 - 100.14 | 
| Xamarin.iOS | 100.6 - 100.15 | 
| UWP | 100.6 - 200.8 | 
Relevant samples
Create and save KML file: Construct a KML document and save it as a KMZ file.