XsltContext.ResolveFunction Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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.
Namespace: System.Xml.Xsl
Assembly: System.Xml.XPath (in System.Xml.XPath.dll)
Syntax
'Declaration
Public MustOverride Function ResolveFunction ( _
prefix As String, _
name As String, _
ArgTypes As XPathResultType() _
) As IXsltContextFunction
public abstract IXsltContextFunction ResolveFunction(
string prefix,
string name,
XPathResultType[] ArgTypes
)
Parameters
- prefix
Type: System.String
The prefix of the function as it appears in the XPath expression.
- name
Type: System.String
The name of the function.
- ArgTypes
Type: array<System.Xml.XPath.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).
Return Value
Type: System.Xml.Xsl.IXsltContextFunction
An IXsltContextFunction representing the function.
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.