C# 使用Xamarin和Parse.com返回最后插入的objectId

C# 使用Xamarin和Parse.com返回最后插入的objectId,c#,parse-platform,xamarin,C#,Parse Platform,Xamarin,我是新来C#所以请对我温柔一点 如何使用Xamarin和Parse.com获取插入对象的objectId var obj = new ParseObject ("TestObject"); obj ["foo"] = "Hello, world! This is a Xamarin app using Parse!"; await obj.SaveAsync(); //Success -> here I want to get the objectId of the freshly i

我是新来C#所以请对我温柔一点

如何使用Xamarin和Parse.com获取插入对象的objectId

var obj = new ParseObject ("TestObject");
obj ["foo"] = "Hello, world!  This is a Xamarin app using Parse!";
await obj.SaveAsync();

//Success -> here I want to get the objectId of the freshly inserted objectId
//Error -> do something on error

保存完成后,应立即填充
obj
objectId
属性。

它在Console.WriteLine(obj.objectId)中工作;非常感谢。