Udostępnij za pośrednictwem


IStorageProviderUICommand Interface

Definition

UI Commands implemented by a storage provider.

public interface class IStorageProviderUICommand
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Storage.Provider.CloudFilesContract, 458752)]
/// [Windows.Foundation.Metadata.Guid(205391712, 55366, 22159, 148, 132, 16, 92, 197, 123, 80, 43)]
struct IStorageProviderUICommand
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 458752)]
[Windows.Foundation.Metadata.Guid(205391712, 55366, 22159, 148, 132, 16, 92, 197, 123, 80, 43)]
public interface IStorageProviderUICommand
Public Interface IStorageProviderUICommand
Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Storage.Provider.CloudFilesContract (introduced in v7.0)

Examples

SyncStatusCommand

Properties

Description

Returns the IStorageProviderUICommand description.

Icon

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

Label

Returns the IStorageProviderUICommand label

State

Returns the IStorageProviderUICommand state (StorageProviderUICommandState)

Methods

Invoke()

Executes the IStorageProviderUICommand's action.

Applies to

See also