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()
C++
Nullable<bool> IsCurrent() abstract 
J#
Nullable<bool> IsCurrent()
JScript
function IsCurrent() : Nullable<bool>

Return Value

A Boolean expression representing the object state. Returns True if the object's properties have not been changed; otherwise, returns False (the object has dirty properties).

See Also