| title | OpenUrlCommand Constructors | |||
|---|---|---|---|---|
| description | Initializes a new instance of the OpenUrlCommand class with the URL target set to target, its name set to "Open", and an icon added. | |||
| ms.date | 2/25/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Initializes a new instance of the OpenUrlCommand class with the URL target set to target, its name set to Open, and an icon added.
public OpenUrlCommand(string target)
{
_target = target;
Name = "Open";
Icon = new IconInfo("\uE8A7");
}target String
The URL to be opened by the command.