StorageProviderKnownFolderEntry 类

定义

表示向提供程序注册的已知文件夹。

public ref class StorageProviderKnownFolderEntry sealed
/// [Windows.Foundation.Metadata.Activatable(458752, "Windows.Storage.Provider.CloudFilesContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Storage.Provider.CloudFilesContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorageProviderKnownFolderEntry final
[Windows.Foundation.Metadata.Activatable(458752, "Windows.Storage.Provider.CloudFilesContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StorageProviderKnownFolderEntry
function StorageProviderKnownFolderEntry()
Public NotInheritable Class StorageProviderKnownFolderEntry
继承
Object Platform::Object IInspectable StorageProviderKnownFolderEntry
属性

Windows 要求

设备系列
Windows 11 Insider Preview (在 10.0.23504.0 中引入)
API contract
Windows.Storage.Provider.CloudFilesContract (在 v7.0 中引入)

注解

使用此类可获取有关向提供程序注册的已知文件夹的信息,包括其当前同步状态。

构造函数

StorageProviderKnownFolderEntry()

创建 StorageProviderKnownFolderEntry 对象的新实例。

属性

KnownFolderId

表示已知文件夹的标识符的 Guid。

Status

已知文件夹的 StorageProviderKnownFolderSyncStatus

适用于