XmlExtensions.

ToStringWithDeclaration(XDocument) Method

Assembly
MagicChunks.dll
Namespace
MagicChunks.Helpers
Containing Type
XmlExtensions

Syntax

public static string ToStringWithDeclaration(this XDocument document)

Parameters

Name Type Description
document XDocument

Return Value

Type Description
string