Accusoft.FormDirector3.Net - Updated
HasChanged Property (FormSet)




Accusoft.FormDirectorSdk Namespace > FormSet 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 FormSet
Dim value As Boolean
 
instance.HasChanged = value
 
value = instance.HasChanged
public bool HasChanged {get; set;}
public: __property bool get_HasChanged();
public: __property void set_HasChanged( 
   bool value
);
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 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 persistent parts of this object are the FormDefinitions, Identification, Operations, and OtherDataItems properties. 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 the FormDefinitions, Identification, Operations, and OtherDataItems properties.

If you create a new derived class from this class to manage I/O to a format different from that supported by FormSetFile, you must set this value to false after reading or writing its contents.

Default value: false

See Also

Reference

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