facebook c# SDK vb.net issue
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
精彩评论