Persistate API documentation
Include Method (obj, raiseChanged)
NamespacesPersistateIPersistateListInclude(Persistent, Boolean)

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

This method supports the Persistate infrastructure and should not be used in open code.
Declaration Syntax
C#
int Include(
	Persistent obj,
	bool raiseChanged
)
Parameters
obj (Persistent)
The object to include.
raiseChanged (Boolean)
If true, the Changed event is raised for the collection. Other events such as Adopted, Associated are never raised.
Return Value
The index at which the object was included in the collection.
Remarks
Includes an existing object in the collection. This is used by the runtime to include an object in a collection which has already been added. This happens for example when retrieving a collection from a database, extracting a collection from a message and updating a collection in the Viewer after an object was added in the Server.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)