Share via


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
)
member IsItemLastModifiedLocally : 
        key:ItemFieldDictionary -> bool 
public function IsItemLastModifiedLocally(
    key : ItemFieldDictionary
) : boolean

Parameters

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.

Exceptions

Exception Condition
ItemNotFoundInMetadataStoreException

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

ArgumentNullException

key is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

key is empty.

See Also

Reference

SimpleSyncServices Class

Microsoft.Synchronization.SimpleProviders Namespace