Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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
- 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.
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. |