XmlReaderProperty_RandomAccess (Compact 2013)
3/26/2014
This property indicates whether the reader should use random access on the input stream. The type of this property is Boolean.
The default value is FALSE.
Remarks
This property can be set through the SetProperty (IXmlReader) method and retrieved through GetProperty (IXmlReader) method.
Using random access can reduce memory allocation for the reader. If this property is set to TRUE, the reader will not cache the values of attributes while it reads the start element tag. Instead, the reader will store the position of each attribute and seek back to receive the value of the attribute if it is necessary. Returning attribute values in this manner can reduce the memory that is required, but may also slow down parsing.
This value should only be set to TRUE if the input stream supports random access (that is, supports Seek). By default, the value of this property is FALSE.
See Also
Reference
IXmlReader Properties
SetProperty (IXmlReader)
GetProperty (IXmlReader)
IXmlReader Methods