BuildComponentUtilitiesGetInnerXml Method

This is used to get the inner XML of a node without changing the spacing

Definition

Namespace: Sandcastle.Core.BuildAssembler
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.9.12.0
public static string GetInnerXml(
	this XPathNavigator node
)

Parameters

node  XPathNavigator
The node from which to get the inner XML

Return Value

String
The inner XML as a string with its spacing preserved

Usage Note

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

Exceptions

ArgumentNullExceptionThis is thrown if the node parameter is null.

See Also