Method SetTaskBarIcon
| Edit this page View SourceSetTaskBarIcon(nint, Icon?)
Sets the task bar icon to the provided icon
Declaration
[Obsolete("Use AppWindow.SetTaskbarIcon")]
public static void SetTaskBarIcon(nint hWnd, Icon? icon)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | hWnd | Window handle |
| Icon | icon | Icon |