> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method WriteToFileAsync

Namespace: [Phoenix.Pacz](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz)\
Assembly: Phoenix.Pacz.dll

## WriteToFileAsync(string)

Writes the external metadata to a file. This does nothing if this does not contain any metadata values.

```csharp theme={null}
public Task WriteToFileAsync(string destFolder)

```

### Parameters

`destFolder` [string](https://learn.microsoft.com/dotnet/api/system.string)

The path to the folder where the metadata file should be written.

### Returns

[Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task)

A task representing the write operation.
