Returns a value indicating whether or not the state of this object is consistent
with its state in the repository.
When one or more of the object's properties are "dirty" (have been marked as changed since the last time they were saved), IsCurrent returns False. You can then do one of the following:
- Save changes to the persistent store. (You can either call the Save method or add the object to an UpdatingBatch then call UpdateBatch, which effectively calls Save on each IndependentlyPersistableObject in the batch.)
- Call the object's Refresh method to cancel the changes and restore the object's state to that of the persistent store.
- Remove dirty properties by calling RemoveFromCache.
Namespace:
FileNet.Api.Core
Assembly:
FileNet.Api (in FileNet.Api.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Function IsCurrent As Nullable(Of Boolean) |
| C# |
|---|
Nullable<bool> IsCurrent() |
| Visual C++ |
|---|
Nullable<bool> IsCurrent() |
| JavaScript |
|---|
function isCurrent(); |