Interface IChange

Represents a single change between one record value and another.

Namespace: PushTechnology.ClientInterface.Data.Record
Assembly: Diffusion.Client.dll
Syntax
public interface IChange
Remarks

Implemented in Version 6.0.

Properties

FieldIndex

Returns the index of the affected field.

Declaration
int FieldIndex { get; }
Property Value
Type Description
System.Int32

The index of the affected field.

Remarks

If type is RECORDS_ADDED or RECORDS_REMOVED then zero will be returned.

FieldName

Returns the name of the affected field.

Declaration
string FieldName { get; }
Property Value
Type Description
System.String

The name of the affected field.

Remarks

If type is RECORDS_ADDED or RECORDS_REMOVED then a zero length string will be returned.

Key

Returns the string key representation of the affected item.

Declaration
string Key { get; }
Property Value
Type Description
System.String

The string key representation of the affected item.

Remarks

The returned key will be in the form "RecordName(RecordIndex).FieldName(FieldIndex)" or just "RecordName(RecordIndex)" in the case of RECORDS_ADDED or RECORDS_REMOVED.

RecordIndex

Returns the index of the affected record.

Declaration
int RecordIndex { get; }
Property Value
Type Description
System.Int32

The index of the affected record.

Remarks

The index of the first (or only) record occurrence with the given name will be 0.

RecordName

Returns the name of the affected record.

Declaration
string RecordName { get; }
Property Value
Type Description
System.String

The name of the affected record.

Type

Returns the change type.

Declaration
ChangeType Type { get; }
Property Value
Type Description
ChangeType

The change type.

Back to top