XsltWhitespaceSettings.Preserve MethodXsltWhitespaceSettings.Preserve MethodXsltWhitespaceSettings::Preserve Method

Specifies that whitespace descendants of elements matching the given name test should be preserved.

Syntax

Public Function Preserve( _
    localName As String, _
    ns As String _
) As Boolean
public bool Preserve(
    string localName,
    string ns
)
public:
bool Preserve(
    String^ localName, 
    String^ ns
)
 

Parameters

localName

Type: System.StringSystem.StringSystem::String^

The local part of the name test. This may be '*'.

ns

Type: System.StringSystem.StringSystem::String^

The namespace of the name test. This may be '*'.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

Returns trueTruetrue if the name test did not conflict with any other rules; otherwise falseFalsefalse.