Persistate API documentation
Exclude Method (obj, raiseChanged)
NamespacesPersistateIndexedList<(Of <(<'T>)>)>Exclude(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#
public void Exclude(
	Persistent obj,
	bool raiseChanged
)
Parameters
obj (Persistent)
The object to exclude.
raiseChanged (Boolean)
If true, the Changed event is raised for the collection. Other events such as Disowned, Dissociated are never raised.
Remarks
Excludes an object from a collection. This is used by only the runtime to exclude an object from a collection where has already been removed. This happens for example in the Viewer after an object was removed in the Server. If the collection is ordered, changes are NOT made to the order of following objects, as it is assumed that these will be made in the original removal, and that changes will propagate here.

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