IsModified Property
Gets or sets whether the value of Field stored by the FieldValue property has changed..
Syntax
| Language | Syntax |
|---|---|
| C# | bool IsModified { get; set; } |
| Visual Basic (Declaration) | Property IsModified As Boolean |
| Visual C++ | property bool IsModified { bool get (); void set (bool value); } |
Field Value
true if the value of this Field object has been changed; otherwise, false. The default is false.
Remarks
The IsModified property indicates that the value stored by the FieldValue property has changed. The IsModified property is set to true under the following conditions:
- The value contained in the FieldValue property is set.
- The value contained in the FieldValue property is accessed, when the value managed by a Field object is a collection type (for example a SortedList instance), there is no way for a Field object to detect when changes have been made. As a result, the Field object pessimistically assumes that a collection type is modified once it has been accessed from the FieldValue property.