IXsltContextFunction Interface

 

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 (in System.Xml.dll)

Public Interface IXsltContextFunction

NameDescription
System_CAPS_pubpropertyArgTypes

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.

System_CAPS_pubpropertyMaxargs

Gets the maximum number of arguments for the function. This enables the user to differentiate between overloaded functions.

System_CAPS_pubpropertyMinargs

Gets the minimum number of arguments for the function. This enables the user to differentiate between overloaded functions.

System_CAPS_pubpropertyReturnType

Gets the XPathResultType representing the XPath type returned by the function.

NameDescription
System_CAPS_pubmethodInvoke(XsltContext, Object(), XPathNavigator)

Provides the method to invoke the function with the given arguments in the given context.

For more information on using IXsltContextFunction, see article Q324899, "HOW TO: Implement and Use Custom Functions When You Execute XPath Queries in Visual Basic .NET" in the Microsoft Knowledge Base at http://support.microsoft.com.

.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Return to top
Show: