set_ProhibitDtd()

XmlReaderSettings::set_ProhibitDtd(bool) method

Sets a value indicating whether to prohibit document type definition (DTD) processing.

void System::Xml::XmlReaderSettings::set_ProhibitDtd(bool value)

Arguments

ParameterTypeDescription
valueboolThe value to set.
Deprecated
This method is obsolete. Use XmlTextReader::set_DtdProcessing instead.

See Also