StorageProviderInSyncPolicy Enum

Definition

Contains the file and directory attributes supported by the sync root.

This enumeration supports a bitwise combination of its member values.

public enum class StorageProviderInSyncPolicy
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Storage.Provider.CloudFilesContract, 65536)]
enum class StorageProviderInSyncPolicy
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 65536)]
public enum StorageProviderInSyncPolicy
var value = Windows.Storage.Provider.StorageProviderInSyncPolicy.default
Public Enum StorageProviderInSyncPolicy
Inheritance
StorageProviderInSyncPolicy
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
API contract
Windows.Storage.Provider.CloudFilesContract (introduced in v1.0)

Fields

Name Value Description
Default 0

The default sync policy value.

FileCreationTime 1

The file creation time.

FileReadOnlyAttribute 2

Read-only attribute of a file.

FileHiddenAttribute 4

Hidden attribute of a file.

FileSystemAttribute 8

System attribute of a file.

DirectoryCreationTime 16

The directory creation time.

DirectoryReadOnlyAttribute 32

Read-only attribute of a directory.

DirectoryHiddenAttribute 64

Hidden attribute of a directory.

DirectorySystemAttribute 128

System attribute of a file.

FileLastWriteTime 256

The last write time on a file.

DirectoryLastWriteTime 512

The last write time on a directory.

PreserveInsyncForSyncEngine 2147483648

Value reserved for the sync engine.

Applies to

See also