Dela via


ResourceMirror.UpdateResource<ItemType,ResourceType> Delegate

Definition

Callback to update existing resources. This will be called for each item and its associated resource in the Sync's currentItems and resources lists.

public delegate void ResourceMirror.UpdateResource<ItemType,ResourceType>(ItemType item, ResourceType resource);
type ResourceMirror.UpdateResource<'ItemType, 'ResourceType> = delegate of 'ItemType * 'ResourceType -> unit
Public Delegate Sub ResourceMirror.UpdateResource(Of ItemType, ResourceType)(item As ItemType, resource As ResourceType)

Type Parameters

ItemType

Type of the source data.

ResourceType

Type of the managed resources.

Parameters

item
ItemType

The source item.

resource
ResourceType

The associated resource.

Remarks

Only one of create/update/destroy will be called for a given item/resource pair during a single Sync.

Applies to