Class ChangeSet
A Change
Namespace: Realms
Assembly: Realm.dll
Syntax
public class ChangeSet
Properties
| Edit this page View SourceDeletedIndices
Gets the indices of objects in the previous version of the IRealm
Declaration
public int[] DeletedIndices { get; }
Property Value
Type | Description |
---|---|
int[] | An array, containing the indices of the deleted objects. |
InsertedIndices
Gets the indices in the new version of the IRealm
Declaration
public int[] InsertedIndices { get; }
Property Value
Type | Description |
---|---|
int[] | An array, containing the indices of the inserted objects. |
IsCleared
Gets a value indicating whether the collection has been cleared. The collection is cleared after calling methods such as Clear().
Declaration
public bool IsCleared { get; }
Property Value
Type | Description |
---|---|
bool |
|
Remarks
| Edit this page View SourceModifiedIndices
Gets the indices in the old version of the IRealm
Declaration
public int[] ModifiedIndices { get; }
Property Value
Type | Description |
---|---|
int[] | An array, containing the indices of the modified objects. |
Moves
Gets the rows in the collection which moved.
Declaration
public ChangeSet.Move[] Moves { get; }
Property Value
Type | Description |
---|---|
Move[] | An array of Change |
Remarks
Every From index will be present in Deleted
NewModifiedIndices
Gets the indices in the new version of the IRealm
Declaration
public int[] NewModifiedIndices { get; }
Property Value
Type | Description |
---|---|
int[] | An array, containing the indices of the modified objects. |