Persistate API documentation
Add Method (obj)
NamespacesPersistateIndexedList<(Of <(<'T>)>)>Add(Object)

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

Adds an object to the end of a collection.
Declaration Syntax
public int Add(
	Object obj
obj (Object)
The object to add to the collection.
Return Value
The position at which the object was added.
If the collection is ordered, then the Order property in the object will be set to the position in the list at which it is added.
InvalidOperationExceptionThrown if you add an object which is invalid (Persistent.IsInvalid returns true).
InvalidCastExceptionThrown if the object added is not of type T.

Assembly: Persistate (Module: Persistate) Version: (