> ## 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 SetIconAsync

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

## SetIconAsync(string)

Set a new icon by first copying the old icon into the extraction folder, and then setting the Icon property
of the config.

```csharp theme={null}
public Task SetIconAsync(string filePath)

```

### Parameters

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

The absolute path to the new icon file.

### Returns

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

Task of the running operation.

### Remarks

This method does not delete the old icon to give the user the opportunity to copy it elsewhere.
Otherwise, it should be deleted when the extraction folder is cleaned up.
