XsltContext.PreserveWhitespace(XPathNavigator) 方法

定義

在衍生類別中覆寫時,會針對指定的內容來評估是否保留或刪除空白區節點。

public:
 abstract bool PreserveWhitespace(System::Xml::XPath::XPathNavigator ^ node);
public abstract bool PreserveWhitespace (System.Xml.XPath.XPathNavigator node);
abstract member PreserveWhitespace : System.Xml.XPath.XPathNavigator -> bool
Public MustOverride Function PreserveWhitespace (node As XPathNavigator) As Boolean

參數

node
XPathNavigator

目前內容中要保留或刪除的空白區節點。

傳回

如果要保留空白區,則為 true;如果要刪除空白區,則為 false

適用於