IXsltContextFunction 介面

定義

將介面提供給指定的函式,該函式於 Run Time 時在可延伸樣式表語言轉換 (XSLT) 樣式表中定義。

public interface class IXsltContextFunction
public interface IXsltContextFunction
type IXsltContextFunction = interface
Public Interface IXsltContextFunction

屬性

ArgTypes

取得已提供給函式引數清單的 XML 路徑語言 (XPath) 型別。 這個資訊可用來探索函式簽章 (Signature),讓您辨別多載函式 (Overloaded Function) 間的差異。

Maxargs

取得函式引數的最大數目。 這能讓使用者辨別多載函式間的差異。

Minargs

取得函式引數的最小數目。 這能讓使用者辨別多載函式間的差異。

ReturnType

取得 XPathResultType,表示由函式傳回的 XPath 型別。

方法

Invoke(XsltContext, Object[], XPathNavigator)

提供以指定內容中的指定引數來叫用函式的方法。

適用於