Realm Xamarin
Realm for Xamarin
Public Member Functions | List of all members
RealmResults< T > Class Template Reference

Iterable collection of one kind of RealmObject resulting from Realm.All or from a LINQ query expression. More...

Inherits IQueryable< T >.

Public Member Functions

int Count ()
 Count all objects if created by Realm.All of the parameterised type, faster than a search. More...
 
IEnumerator< T > GetEnumerator ()
 Standard method from interface IEnumerable allows the RealmResults to be used in a foreach. More...
 

Detailed Description

Iterable collection of one kind of RealmObject resulting from Realm.All or from a LINQ query expression.

Template Parameters
TType of the RealmObject which is being returned.

Member Function Documentation

int Count ( )

Count all objects if created by Realm.All of the parameterised type, faster than a search.

Resolves to this method instead of the static extension Count<T>(this IEnumerable<T>).

IEnumerator<T> GetEnumerator ( )

Standard method from interface IEnumerable allows the RealmResults to be used in a foreach.

Returns
An IEnumerator which will iterate through found Realm persistent objects.