Return a new snapshot of the current state.

Namespace:  NHibernate.Collection
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Protected Overrides Function Snapshot ( _
	persister As ICollectionPersister _
) As ICollection
C#
protected override ICollection Snapshot(
	ICollectionPersister persister
)
Visual C++
protected:
virtual ICollection^ Snapshot(
	ICollectionPersister^ persister
) override
JavaScript
function snapshot(persister);

Return Value

A new ArrayList that contains Deep Copies of the Elements stored in this wrapped collection.

See Also