IXsltContextFunction Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Provides an interface to a given function defined in the Extensible Stylesheet Language for Transformations (XSLT) style sheet during runtime execution.

Namespace:  System.Xml.Xsl
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)

Syntax

'Declaration
Public Interface IXsltContextFunction
public interface IXsltContextFunction

The IXsltContextFunction type exposes the following members.

Properties

  Name Description
Public property ArgTypes Gets the supplied XML Path Language (XPath) types for the function's argument list. This information can be used to discover the signature of the function which allows you to differentiate between overloaded functions.
Public property Maxargs Gets the maximum number of arguments for the function. This enables the user to differentiate between overloaded functions.
Public property Minargs Gets the minimum number of arguments for the function. This enables the user to differentiate between overloaded functions.
Public property ReturnType Gets the XPathResultType representing the XPath type returned by the function.

Top

Methods

  Name Description
Public method Invoke Provides the method to invoke the function with the given arguments in the given context.

Top

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference