This documentation is archived and is not being maintained.

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

The IXsltContextFunction type exposes the following members.

  NameDescription
Public propertyArgTypesGets 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 propertyMaxargsGets the maximum number of arguments for the function. This enables the user to differentiate between overloaded functions.
Public propertyMinargsGets the minimum number of arguments for the function. This enables the user to differentiate between overloaded functions.
Public propertyReturnTypeGets the XPathResultType representing the XPath type returned by the function.
Top

  NameDescription
Public methodInvokeProvides the method to invoke the function with the given arguments in the given context.
Top

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

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: