Is this the wrapper for the given underlying bag instance?

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

Syntax

Visual Basic (Declaration)
Public Overrides Function IsWrapper ( _
	collection As Object _
) As Boolean
C#
public override bool IsWrapper(
	Object collection
)
Visual C++
public:
virtual bool IsWrapper(
	Object^ collection
) override
JavaScript
function isWrapper(collection);

Parameters

collection
Type: System..::.Object
The bag that might be wrapped.

Return Value

trueTruetruetrue (True in Visual Basic) if the collection is equal to the wrapped collection by object reference.

Implements

IPersistentCollection..::.IsWrapper(Object)

See Also