IsNew property of IDataObject

interface
IDataObject

Syntax

Gets a value indicating whether the state this instance is unsaved.
bool IsNew {}