Storage​Provider Storage​Provider Storage​Provider Class


Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

Prerelease. Contains info about the service that stores files and folders. Files and folders may be stored either by the local file system or by a remote service like Microsoft OneDrive.

public : sealed class StorageProvider : IStorageProviderpublic sealed class StorageProvider : IStorageProviderPublic NotInheritable Class StorageProvider Implements IStorageProvider
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


For example, if a file or folder is stored on Microsoft OneDrive, StorageProvider will contain a display name, id, and thumbnail for Microsoft OneDrive.

Typically, you access StorageProvider objects as the result of calls to asynchronous methods and functions.


DisplayName DisplayName DisplayName

Gets a user-friendly name for the current provider of files and folders.

public : PlatForm::String DisplayName { get; }public string DisplayName { get; }Public ReadOnly Property DisplayName As string
PlatForm::String string string

The user-friendly name for the provider. This name is localized to the current system locale.


Id Id Id

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

public : PlatForm::String Id { get; }public string Id { get; }Public ReadOnly Property Id As string
PlatForm::String string string

The identifier for the provider.



The ID can be Local, Network, or OneDrive depending on your provider.


IsPropertySupportedForPartialFileAsync(String) IsPropertySupportedForPartialFileAsync(String) IsPropertySupportedForPartialFileAsync(String)

Prerelease. Determines if a property is supported by a cloud storage provider.

public : IAsyncOperation<PlatForm::Boolean> IsPropertySupportedForPartialFileAsync(PlatForm::String propertyCanonicalName)public IAsyncOperation<bool> IsPropertySupportedForPartialFileAsync(String propertyCanonicalName)Public Function IsPropertySupportedForPartialFileAsync(propertyCanonicalName As String) As IAsyncOperation( Of bool )
PlatForm::String String String

The name of the property. E.g., "System.Photo.DateTaken" or "System.Music.Artist"

IAsyncOperation<PlatForm::Boolean> IAsyncOperation<bool> IAsyncOperation<bool>

True if the property is supported by the cloud storage provider; False otherwise

Additional features and requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16225.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)
See Also