Hi,
can someone tell me, why this code works
Var commentNode As XmlNode = root.AppendChild(xml.CreateComment("Test"))
and this not?
Call root.AppendChild(xml.CreateComment("Test"))
Hi,
can someone tell me, why this code works
Var commentNode As XmlNode = root.AppendChild(xml.CreateComment("Test"))
and this not?
Call root.AppendChild(xml.CreateComment("Test"))
What happens?
Dropping the Call
doesn’t result in a compile error because AppendChild is overloaded with two signatures, one to return a value and one that doesn’t:
root.AppendChild(xml.CreateComment("Test"))
Adding Call
confuses the compiler, it seems.