IMobileServiceLocalStore.LookupAsync(String, String) Method

Definition

Reads a single item from local table with specified id.

public System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JObject> LookupAsync (string tableName, string id);
abstract member LookupAsync : string * string -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JObject>
Public Function LookupAsync (tableName As String, id As String) As Task(Of JObject)

Parameters

tableName
System.String

Name of the local table.

id
System.String

Id for the object to be read.

Returns

System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JObject>

A task that returns the item read from local table.

Applies to