XlsDdeSerializer

Ecng.Interop.Dde

Provides methods for serializing and deserializing data to and from a format compatible with Excel DDE.

Métodos

Deserialize
public static IList<IList<object>> Deserialize(byte[] data)
result = XlsDdeSerializer.Deserialize(data)

Deserializes a byte array from Excel DDE format into a table of data.

data
The byte array containing the serialized DDE data.

Devuelve: A list of rows, where each row is a list of cell values.

Serialize
public static byte[] Serialize(IList<IList<object>> rows)
result = XlsDdeSerializer.Serialize(rows)

Serializes a table of data into a byte array compatible with Excel DDE.

rows
A list of rows, where each row is a list of cell values to serialize.

Devuelve: A byte array representing the serialized data.