FormFix v6.0 for .NET - Updated
HasChanged Property (DataItemCollection)



Accusoft.FormDirectorSdk Namespace > DataItemCollection Class : HasChanged Property
Indicates when this object needs to be written to persistent storage.
Syntax
'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;}
public:
property bool HasChanged {
   bool get();
   void set (    bool value);
}
Remarks

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

See Also

Reference

DataItemCollection Class
DataItemCollection Members
DataItem.HasChanged Property
FormSet.Read Method
FormSet.Write Method
FormDefinition.Read Method
FormDefinition.Write Method

Is this page helpful?
Yes No
Thanks for your feedback.