Udostępnij za pośrednictwem


XPathMessageContext.ResolveFunction(String, String, XPathResultType[]) Metoda

Definicja

Usuwa odwołanie funkcji i zwraca element IXsltContextFunction reprezentujący funkcję.

public:
 override System::Xml::Xsl::IXsltContextFunction ^ ResolveFunction(System::String ^ prefix, System::String ^ name, cli::array <System::Xml::XPath::XPathResultType> ^ argTypes);
public override System.Xml.Xsl.IXsltContextFunction ResolveFunction (string prefix, string name, System.Xml.XPath.XPathResultType[] argTypes);
override this.ResolveFunction : string * string * System.Xml.XPath.XPathResultType[] -> System.Xml.Xsl.IXsltContextFunction
Public Overrides Function ResolveFunction (prefix As String, name As String, argTypes As XPathResultType()) As IXsltContextFunction

Parametry

prefix
String

Prefiks funkcji wyświetlany w wyrażeniu XPath.

name
String

Nazwa funkcji.

argTypes
XPathResultType[]

Tablica typów argumentów dla rozpoznawanej funkcji. Pozwala to wybrać między metodami o tej samej nazwie (na przykład metody przeciążone).

Zwraca

Element IXsltContextFunction reprezentujący funkcję.

Wyjątki

argTypes to null.

Uwagi

Element IXsltContextFunction jest używany w czasie wykonywania do oceny funkcji.

Dotyczy