Compartilhar via


IXsltContextFunction.Invoke Method

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

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)

Syntax

'Declaration
Function Invoke ( _
    xsltContext As XsltContext, _
    args As Object(), _
    docContext As XPathNavigator _
) As Object
Object Invoke(
    XsltContext xsltContext,
    Object[] args,
    XPathNavigator docContext
)

Parameters

  • args
    Type: array<System.Object[]
    The arguments of the function call. Each argument is an element in the array.

Return Value

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

Remarks

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

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.