Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
XStreamingElement Constructor

XStreamingElement Constructor

Initializes a new instance of the XStreamingElement class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by the XNA Framework Supported by Portable Class Library XStreamingElement(XName) Initializes a new instance of the XElement class from the specified XName.
Public method Supported by the XNA Framework Supported by Portable Class Library XStreamingElement(XName, Object) Initializes a new instance of the XStreamingElement class with the specified name and content.
Public method Supported by the XNA Framework Supported by Portable Class Library XStreamingElement(XName, Object[]) Initializes a new instance of the XStreamingElement class with the specified name and content.
Top

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 Objects.

Show:
© 2015 Microsoft