XRecord
§XRecords can be added to Dictionaries
§Uses a Resbuf  chain (Result Buffer)
§Resbuf – TypedValues (DataType–Value pair)
§No “Key” to search values within a Resbuf.
§
§Dim data As ResultBuffer = New ResultBuffer(New      TypedValue(DxfCode.Int16, 1), _
§   New TypedValue(DxfCode.Real, 320.6))
§Dim myXrecord As New Xrecord
§myXrecord.Data = data
§
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.