Persistate API documentation
AppendVariant Method (slot, value)
NamespacesPersistateMessageAppendVariant(Int32, Object)

[This is preliminary documentation and is subject to change.]

Appends a slot number, a length field, and the value of an object to this message.
Declaration Syntax
public void AppendVariant(
	int slot,
	Object value
slot (Int32)
The member slot number.
value (Object)
The object to append.
If the object is one of the other types for which an Append method is available, then that method is used. In all other cases, an appropriate formatter is used to serialise the object, which is then appended to the Message. The value must be read from the message using ReadVariant.
SerializationException Thrown if the type of the object does not have an Append method, and is not marked as serialisable.

Assembly: Persistate (Module: Persistate) Version: (