开发者

facebook c# SDK vb.net issue

开发者 https://www.devze.com 2023-04-05 19:35 出处:网络
i have been trying to use this sdk with vb.net with dynamic, using the vb sample tha开发者_如何学Cts on the site and im getting an error

i have been trying to use this sdk with vb.net with dynamic, using the vb sample tha开发者_如何学Cts on the site and im getting an error "Public member 'id' on type 'JsonObject' not found." thats in the sample GetSampleWithAccessToken referring to is

 Dim id = result.id 


You're giving too little context, but it seems that result is typed as JsonObject, while it should be typed explicitly as Object for the dynamic features of VB to kick in.

Dim result as Object = ...
Dim id = result.id
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号