Custom ContextPreserve Whitespace Method
When overridden in a derived class, evaluates whether to preserve white space nodes or strip them for the given context.
Definition
Namespace: Sandcastle.Core.BuildAssembler
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
if the white space is to be preserved; if the white space is to be stripped.
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public override bool PreserveWhitespace(
XPathNavigator node
)VB
Public Overrides Function PreserveWhitespace (
node As XPathNavigator
) As BooleanC++
public:
virtual bool PreserveWhitespace(
XPathNavigator^ node
) overrideF#
abstract PreserveWhitespace :
node : XPathNavigator -> bool
override PreserveWhitespace :
node : XPathNavigator -> bool Parameters
- node XPathNavigator
- The white space node that is to be preserved or stripped in the current context.
Return Value
Booleanif the white space is to be preserved; if the white space is to be stripped.
Remarks
This implementation always returns true