CodeCharge Studio All C#.NET VB.NET

IsNew Run-Time Property (.NET)

Applies to

EditableGrid Form, Record Form

Syntax

C#.NET

public bool IsNew{get;}

VB.NET

Public ReadOnly Property IsNew() As Boolean

Description

Indicates that the item is new and Update method has not been called.

Examples

C#.NET

if(!item.IsNew) Record1Data.Update(item);

VB.NET

If Not item.IsNew Then Record1Data.Update(item)

See also

IsEmptyItem Property
IsUpdated Property
IsDeleted Property


On-line, printable versions and updates