Interface IChange
- Namespace
- PushTechnology.ClientInterface.Data.Record
- Assembly
- Diffusion.Client.dll
Represents a single change between one record value and another.
public interface IChange
Remarks
Implemented in Version 6.0.
Properties
FieldIndex
Returns the index of the affected field.
int FieldIndex { get; }
Property Value
- int
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.
string FieldName { get; }
Property Value
- 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.
string Key { get; }
Property Value
- 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.
int RecordIndex { get; }
Property Value
- int
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.
string RecordName { get; }
Property Value
- string
The name of the affected record.
Type
Returns the change type.
ChangeType Type { get; }
Property Value
- ChangeType
The change type.