set_WhitespaceHandling()

XmlTextReader::set_WhitespaceHandling(System::Xml::WhitespaceHandling) method

Sets a value that specifies how white space is handled.

void System::Xml::XmlTextReader::set_WhitespaceHandling(System::Xml::WhitespaceHandling value)

Arguments

ParameterTypeDescription
valueSystem::Xml::WhitespaceHandlingThe value to set.

Exceptions

ExceptionDescription
ArgumentOutOfRangeExceptionInvalid value specified.
InvalidOperationExceptionSetting this value when the reader is closed (XmlTextReader::get_ReadState is ReadState::Closed).

See Also