SimpleSyncServices::IsItemLastModifiedLocally Method

Returns whether an item was last modified on the local replica.

Namespace:  Microsoft.Synchronization.SimpleProviders
Assembly:  Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)

public:
bool IsItemLastModifiedLocally(
	ItemFieldDictionary^ key
)

Parameters

key
Type: Microsoft.Synchronization.SimpleProviders::ItemFieldDictionary
An ItemFieldDictionary object that represents an item and its associated fields.

Return Value

Type: System::Boolean
True if the local metadata indicates that the specified item was last modified locally. False if the item is known, but it was not last modified locally.

ExceptionCondition
ItemNotFoundInMetadataStoreException

The simple provider did not find an item with the given identity fields in the metadata store.

ArgumentNullException

key is a nullptr.

ArgumentOutOfRangeException

key is empty.

Show: