Hello,
This question should be very simple but I couldn't find any clue.
I have a class A within a Windows Runtime component (using C#), which has a property b returning a string.
When I used A.b in JavaScript, always got "Invalid point" and "Value cannot be null" in the case when b is null.
It's like this:
// C#
sealed public class A
{
public string b { get { return null; }}
}
// JavaScript
var objA = ....; // initialize A
function test()
{
var value_b = objA.b; // throws nullpointer exception
}
Thanks a lot!