Invoke Method
Collapse the table of content
Expand the table of content

IXsltContextFunction.Invoke Method

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

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

Object Invoke(
	XsltContext xsltContext,
	Object[] args,
	XPathNavigator docContext
)

Parameters

xsltContext
Type: System.Xml.Xsl.XsltContext
The XSLT context for the function call.
args
Type: System.Object[]
The arguments of the function call. Each argument is an element in the array.
docContext
Type: System.Xml.XPath.XPathNavigator
The context node for the function call.

Return Value

Type: System.Object
An Object representing the return value of the function.

The docContext parameter is required so that functions which require a node set can be supplied the current context node.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show:
© 2016 Microsoft