Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XStreamingElement Constructor

 

Initializes a new instance of the XStreamingElement class.

Namespace:   System.Xml.Linq
Assembly:  System.Xml.Linq (in System.Xml.Linq.dll)

NameDescription
System_CAPS_pubmethodXStreamingElement(XName^)

Initializes a new instance of the XElement class from the specified XName.

System_CAPS_pubmethodXStreamingElement(XName^, Object^)

Initializes a new instance of the XStreamingElement class with the specified name and content.

System_CAPS_pubmethodXStreamingElement(XName^, array<Object^>^)

Initializes a new instance of the XStreamingElement class with the specified name and content.

Queries are not iterated until the XStreamingElement is serialized. This is in contrast to using queries for content for an XElement, where queries are iterated at the time of construction of the new XElement.

For details about the valid content that can be passed to this constructor, see Valid Content of XElement and XDocument Objects1.

Return to top
Show:
© 2017 Microsoft