System::Xml::XmlReaderSettings::set_ProhibitDtd method

XmlReaderSettings::set_ProhibitDtd method

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

void System::Xml::XmlReaderSettings::set_ProhibitDtd(bool value)
ParameterTypeDescription
valueboolThe value to set.

Deprecated

This method is obsolete. Use XmlTextReader::set_DtdProcessing instead.

See Also