CachedFileUpdaterUI.UpdateTarget | updateTarget property

Applies to Windows and Windows Phone

Gets a value that indicates which version of the file needs to be updated: the local version or the version in the app's repository.

Syntax


public:
property CachedFileTarget UpdateTarget { 
   CachedFileTarget get();
}

Property value

Type: CachedFileTarget

An enum value that indicates which version of the file needs to be updated: the local version or the version in the app's repository.

Remarks

If your app participates in the Cached File Updater contract, you should use this property to respond to FileUpdateRequested events. If this property is CachedFileTarget.Local, your app should update the locally cached copy of the file to match the latest version of the file that is in your app's repository. Otherwise, if it's CachedFileTarget.Remote, your app should update the version of the file that is in your app's repository to match the latest, locally cached copy of the file.

The value of this property is applies to all of the FileUpdateRequested events that fire for a single ActivationKind.CachedFileUpdater activation event.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Storage.Provider
Windows::Storage::Provider [C++]

Metadata

Windows.winmd

See also

CachedFileUpdaterUI

 

 

Show:
© 2014 Microsoft