Udostępnij za pośrednictwem


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)

Syntax

'Declaration
Public Function IsItemLastModifiedLocally ( _
    key As ItemFieldDictionary _
) As Boolean
'Usage
Dim instance As SimpleSyncServices
Dim key As ItemFieldDictionary
Dim returnValue As Boolean

returnValue = instance.IsItemLastModifiedLocally(key)
public bool IsItemLastModifiedLocally (
    ItemFieldDictionary key
)
public:
bool IsItemLastModifiedLocally (
    ItemFieldDictionary^ key
)
public boolean IsItemLastModifiedLocally (
    ItemFieldDictionary key
)
public function IsItemLastModifiedLocally (
    key : ItemFieldDictionary
) : boolean

Parameters

Return Value

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.

Exceptions

Exception type Condition

ItemNotFoundInMetadataStoreException

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

See Also

Reference

SimpleSyncServices Class
SimpleSyncServices Members
Microsoft.Synchronization.SimpleProviders Namespace