Converts an XmlNode to XElement.

Namespace: Cudafy
Assembly: Cudafy (in Cudafy.dll) Version: 1.0.4106.20170

Syntax

C#
public static XElement GetXElement(
	this XmlNode node
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function GetXElement ( _
	node As XmlNode _
) As XElement
Visual C++
[ExtensionAttribute]
public:
static XElement^ GetXElement(
	XmlNode^ node
)

Parameters

node
Type: System.Xml..::..XmlNode
The node.

Return Value

XElement

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XmlNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also