Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OpenUrlCommand(String) Constructor
Definition
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");
}
Parameters
target String
The URL to be opened by the command.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Windows developer