Megosztás a következőn keresztül:


XmlReaderProperty_MaxElementDepth

 

Allows the user to set the maximum levels of nesting in elements. The type of this property is integer.

Default Value

256

Remarks

This property can be set through the IXmlReader::SetProperty method and retrieved through the IXmlReader::GetProperty method.

This property enables applications to set the levels of nesting to a reasonable number to avoid stack overflow issues, especially applicable in data models where elements nest themselves.

When entities resolve to elements, they are counted in the depth.

This property has security implications. For more information see XmlLite Security.

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

IXmlReader Properties
XmlLite Security
XmlReaderProperty_MaxEntityExpansion