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.
IconData(IRandomAccessStreamReference) Constructor
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Initializes a new instance of the IconData class with the Data property set to data.
public IconData(IRandomAccessStreamReference data)
{
Data = data;
}
Parameters
data Windows.Storage.Streams.IRandomAccessStreamReference
The icon data as a stream reference. This property is used to load the icon data from a stream.
IconData(String) Constructor
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Initializes a new instance of the IconData class with the Icon property set to icon.
public IconData(string? icon)
{
Icon = icon;
}
Parameters
icon String
The icon URI. This property is used to load the icon from a URI.
Windows developer