I ran into the following piece of code that puzzled me at first glance. I wasn't able to find resources on this, due to its nature it's kind of hard to search for. I'm of course puzzled by the ...<price>
portion of this. What's the syntax / concept called, what is it doing, or where can I read more about the concept? I'm sure it's not complicated, I just don't know what to look for and wasn't even sure how to phrase the question! Is ...
separate from <price>
? What types do those return? And any other general info. Thanks!
Price = xml_GetElementValue(xml...<price>.FirstOrDefault)
It selects a sub-child element <price>
under the xml
XElement.
It's a LINQ to XML notation in VB.
Provides access to the descendants of the following: an XElement object, an XDocument object, a collection of XElement objects, or a collection of XDocument objects.
object...<descendant>
See: XML Descendant Axis Property (Visual Basic) http://msdn.microsoft.com/en-us/library/bb384876.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With