Converting the Result of a .NET Extension Function

This section explains how the value returned by a .NET extension function is converted to an XPath value.

The result type of the method is converted to an XPath value as follows.