StorageProvider StorageProvider StorageProvider StorageProvider StorageProvider Class

Definition

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 : IStorageProvider, IStorageProvider2
struct winrt::Windows::Storage::StorageProvider : IStorageProvider, IStorageProvider2
public sealed class StorageProvider : IStorageProvider, IStorageProvider2
Public NotInheritable Class StorageProvider Implements IStorageProvider, IStorageProvider2
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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.

Properties

DisplayName DisplayName DisplayName DisplayName DisplayName

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

Id Id Id Id Id

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

Methods

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

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