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



Accusoft.FormDirectorSdk Namespace > FieldCollection 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 FieldCollection
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 FormDefinitionFile writes the properties (including this FieldCollection) of a FormDefinition object to a form definition file, or when it reads those properties from a form definition file, it will reset this property to false.

The persistent parts of this object are the collection itself and the persistent parts of every Field 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

FieldCollection Class
FieldCollection Members
Field.HasChanged Property
FormDefinition.Read Method
FormDefinition.Write Method

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