XsltContext.ResolveFunction(String, String, XPathResultType[]) Método
Definição
Quando substituído em uma classe derivada, resolve uma referência de função e retorna um IXsltContextFunction que representa a função.When overridden in a derived class, resolves a function reference and returns an IXsltContextFunction representing the function. O IXsltContextFunction é usado em tempo de execução para obter o valor retornado da função.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
Parâmetros
- prefix
- String
O prefixo da função como ele aparece na expressão XPath.The prefix of the function as it appears in the XPath expression.
- name
- String
O nome da função.The name of the function.
- ArgTypes
- XPathResultType[]
Uma matriz de tipos de argumento para a função que está sendo resolvida.An array of argument types for the function being resolved. Isso permite que você selecione entre os métodos com o mesmo nome (por exemplo, os métodos sobrecarregados).This allows you to select between methods with the same name (for example, overloaded methods).
Retornos
Um IXsltContextFunction que representa a função.An IXsltContextFunction representing the function.