IsReadOnly Property

Gets a value indicating whether HealthRecordItem is read-only.

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

public bool IsReadOnly { get; set; }

Field Value

true if the HealthRecordItem is read-only; otherwise, false.

Returns true if either Thing Type is immutable or Thing instance is read-only but sets only the instance immutability.

System..::..InvalidOperationException Cannot change read-only flag to false if it is already true.