MSSyncContextReadResult Class Reference

Inherits from NSObject
Declared in MSSyncContextReadResult.h

Overview

The MSSyncContextReadResult class represents the results of a read from a local table. Providing the list of items found and optionally a total count of records matching the query.

Accessing search results

  totalCount

The total record count of the matching records in the table, but does not indicate the actual returned record count. If the query did not request a total count, this value should be -1.

@property (nonatomic, readonly) NSInteger totalCount

Discussion

The total record count of the matching records in the table, but does not indicate the actual returned record count. If the query did not request a total count, this value should be -1.

Declared In

MSSyncContextReadResult.h

  items

An NSArray of NSDictionaries, with each dictionary representing a row in the table.

@property (nonatomic, readonly, strong) NSArray *items

Discussion

An NSArray of NSDictionaries, with each dictionary representing a row in the table.

Declared In

MSSyncContextReadResult.h