Converts an XElement to XmlNode.

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

Syntax

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

Parameters

element
Type: System.Xml.Linq..::..XElement
The element.

Return Value

XmlNode

Usage Note

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

See Also