UpdateItem Method

HealthVault
Updates the specified health record item.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.1.0.0 (1.15.1003.9505)

public void UpdateItem(
	HealthRecordItem item
)

Parameters

item
Type: Microsoft.Health..::..HealthRecordItem
The health record item to be updated.

Only new items are updated with the appropriate unique identifier. All other sections must be updated manually.

This method accesses the HealthVault service across the network.

ExceptionCondition
System..::..ArgumentNullException The item parameter is null.
System..::..ArgumentException The item parameter does not have an ID.
Microsoft.Health..::..HealthServiceException The HealthVault service returned an error.
Show: