Saves the stream to XDocument supplied.

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

Syntax

C#
public static void SaveStream(
	this XDocument xmlDoc,
	Stream outStream
)
Visual Basic
<ExtensionAttribute> _
Public Shared Sub SaveStream ( _
	xmlDoc As XDocument, _
	outStream As Stream _
)
Visual C++
[ExtensionAttribute]
public:
static void SaveStream(
	XDocument^ xmlDoc, 
	Stream^ outStream
)

Parameters

xmlDoc
Type: System.Xml.Linq..::..XDocument
The XML doc.
outStream
Type: System.IO..::..Stream
The out stream.

Usage Note

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

See Also