One of the most
common type of object added to a dictionary is the xrecord. An xrecord is a
Result Buffer which is a linked list of TypedValues. A TypedValue is a
DataType and value pair. An xrecord will not have a search key and you should
keep track of the order that the data is stored. In this code snippet you can
see how a ResultBuffer is created. Notice how the constructor for the
ResultBuffer takes new TypedValues. You can use the DxfCode enumeration for
the type argument for the TypeValue constructor. The second argument is the
actual value. In this first TypedValue DxfCode.Int16 is used and the value
for this TypedValue is 1. The Data property of the Xrecord is then used to
incorporate the new ResultBuffer that was created with the TypedValues. |