StorageProvider.Id Property

Definition

Gets an identifier for the current provider of files and folders.

public:
 property Platform::String ^ Id { Platform::String ^ get(); };
winrt::hstring Id();
public string Id { get; }
var string = storageProvider.id;
Public ReadOnly Property Id As String

Property Value

String

Platform::String

winrt::hstring

The identifier for the provider.

Remarks

The ID that is returned will depend on your provider. Examples include Local, Network, OneDrive, or Computer.

Applies to