Uredi

Deli z drugimi prek


XsltContext.ResolveFunction(String, String, XPathResultType[]) Method

Definition

When overridden in a derived class, resolves a function reference and returns an IXsltContextFunction representing the function. The IXsltContextFunction is used at execution time to get the return value of the function.

public:
 abstract System::Xml::Xsl::IXsltContextFunction ^ ResolveFunction(System::String ^ prefix, System::String ^ name, cli::array <System::Xml::XPath::XPathResultType> ^ ArgTypes);
public abstract System.Xml.Xsl.IXsltContextFunction ResolveFunction (string prefix, string name, System.Xml.XPath.XPathResultType[] ArgTypes);
abstract member ResolveFunction : string * string * System.Xml.XPath.XPathResultType[] -> System.Xml.Xsl.IXsltContextFunction
Public MustOverride Function ResolveFunction (prefix As String, name As String, ArgTypes As XPathResultType()) As IXsltContextFunction

Parameters

prefix
String

The prefix of the function as it appears in the XPath expression.

name
String

The name of the function.

ArgTypes
XPathResultType[]

An array of argument types for the function being resolved. This allows you to select between methods with the same name (for example, overloaded methods).

Returns

An IXsltContextFunction representing the function.

Applies to