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
- key
An ItemFieldDictionary object that represents an item and its associated fields.
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 |
---|---|
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