Düzenle

Aracılığıyla paylaş


IXsltContextFunction.Invoke(XsltContext, Object[], XPathNavigator) Method

Definition

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

public:
 System::Object ^ Invoke(System::Xml::Xsl::XsltContext ^ xsltContext, cli::array <System::Object ^> ^ args, System::Xml::XPath::XPathNavigator ^ docContext);
public object Invoke (System.Xml.Xsl.XsltContext xsltContext, object[] args, System.Xml.XPath.XPathNavigator docContext);
abstract member Invoke : System.Xml.Xsl.XsltContext * obj[] * System.Xml.XPath.XPathNavigator -> obj
Public Function Invoke (xsltContext As XsltContext, args As Object(), docContext As XPathNavigator) As Object

Parameters

xsltContext
XsltContext

The XSLT context for the function call.

args
Object[]

The arguments of the function call. Each argument is an element in the array.

docContext
XPathNavigator

The context node for the function call.

Returns

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.

Applies to