你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IMobileServiceLocalStore.LookupAsync(String, String) 方法

定义

从具有指定 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)

参数

tableName
String

本地表的名称。

id
String

要读取的对象的 ID。

返回

Task<Newtonsoft.Json.Linq.JObject>

返回从本地表读取的项的任务。

适用于