ISimpleSyncProviderIdGenerator.GenerateNewItemId Method
When overridden in a derived class, returns a SyncId object that contains a ID for a new item.
Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in microsoft.synchronization.simpleproviders.dll)
Syntax
'Declaration
Function GenerateNewItemId ( _
keyAndVersion As ItemFieldDictionary _
) As SyncId
'Usage
Dim instance As ISimpleSyncProviderIdGenerator
Dim keyAndVersion As ItemFieldDictionary
Dim returnValue As SyncId
returnValue = instance.GenerateNewItemId(keyAndVersion)
SyncId GenerateNewItemId (
ItemFieldDictionary keyAndVersion
)
SyncId^ GenerateNewItemId (
ItemFieldDictionary^ keyAndVersion
)
SyncId GenerateNewItemId (
ItemFieldDictionary keyAndVersion
)
function GenerateNewItemId (
keyAndVersion : ItemFieldDictionary
) : SyncId
Parameters
- keyAndVersion
An ItemFieldDictionary object that contains the key and version properties of the item that requires an ID.
Return Value
A SyncId object that contains a ID for a new item.
See Also
Reference
ISimpleSyncProviderIdGenerator Interface
ISimpleSyncProviderIdGenerator Members
Microsoft.Synchronization.SimpleProviders Namespace