WriteActivationMode WriteActivationMode WriteActivationMode WriteActivationMode Enum

Indicates whether other apps can write to the locally cached version of the file and when Windows will request an update if another app writes to that local file.

Syntax

Declaration

public enum WriteActivationModepublic enum WriteActivationModePublic Enum WriteActivationModepublic enum WriteActivationMode

Remarks

If your app participates in the Cached File Updater contract, associate this information with the locally cached copy of a file by calling SetUpdateInformation(IStorageFile, String, ReadActivationMode, WriteActivationMode, CachedFileOptions).

Fields

AfterWrite
AfterWrite
AfterWrite
AfterWrite

Windows will trigger a file update request after another app writes to the local file.

NotNeeded
NotNeeded
NotNeeded
NotNeeded

Windows will trigger a file update request when another app writes to the local file.

ReadOnly
ReadOnly
ReadOnly
ReadOnly

Other apps can't write to the local file.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Storage.Provider.dll