Delen via


IStorageProviderUICommand.Icon Property

Definition

Returns the IStorageProviderUICommand icon URI, which is expected to be a fully-qualified local file path to an SVG file.

public:
 property Uri ^ Icon { Uri ^ get(); };
Uri Icon();
public System.Uri Icon { get; }
var uri = iStorageProviderUICommand.icon;
Public ReadOnly Property Icon As Uri

Property Value

A Uri referencing the fully-qualified path to an SVG file.

Remarks

Windows determines if the SyncStatusCommand, ProviderSecondaryCommands, ProviderPrimaryCommand, or StorageProviderMoreInfoUI.Command can display icons.

Windows may choose to display "Hidden"-requested commands as "Disabled". This property must be specified and non-empty even if IStorageProviderUICommand.State is Hidden.

Applies to

See also