'Declaration Public Property HasChanged As Boolean
'Usage Dim instance As DataItemCollection Dim value As Boolean instance.HasChanged = value value = instance.HasChanged
public bool HasChanged {get; set;}
'Declaration Public Property HasChanged As Boolean
'Usage Dim instance As DataItemCollection Dim value As Boolean instance.HasChanged = value value = instance.HasChanged
public bool HasChanged {get; set;}
true if any persistent part of this object has changed; otherwise false. When FormSetFile writes the properties (including this DataItemCollection) of a FormSet object to a form set file, or when it reads those properties from a form set file, it will reset this property to false. The same is true when FormDefinitionFile reads or writes a FormDefinition that includes this object.
The persistent parts of this object are the collection itself and the persistent parts of every DataItem object in the collection. When you change any of them, this property will automatically change to true.
You can also set the value of this property. If you set it to false, it will also set the HasChanged property of each object in the collection to false.
Default value: false