DataDirect XML Converters 5.0 Send comments on this topic.
BufferOverflowPolicy Property
See Also 
DDTek.XmlConverter Namespace > Configuration Class : BufferOverflowPolicy Property




Gets or sets the current value of the memory buffer overflow policy.

Syntax

Visual Basic (Declaration) 
Public Property BufferOverflowPolicy As Integer
Visual Basic (Usage)Copy Code
Dim instance As Configuration
Dim value As Integer
 
instance.BufferOverflowPolicy = value
 
value = instance.BufferOverflowPolicy
C# 
public int BufferOverflowPolicy {get; set;}
Managed Extensions for C++ 
public: __property int get_BufferOverflowPolicy();
public: __property void set_BufferOverflowPolicy( 
   int value
);
C++/CLI 
public:
property int BufferOverflowPolicy {
   int get();
   void set (int value);
}

Return Value

Either Configuration.ABORT or Configuration.USE_TEMP_FILE

Remarks

The behavior will be:
  • Configuration.ABORT: If the buffer overflows, abort the conversion and throw an exception
  • Configuration.USE_TEMP_FILE: If the buffer overflows, continue the conversion using a
  • temp file for additional data.
The default is USE_TEMP_FILE.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.