Is this the wrapper for the given underlying collection instance?

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

Syntax

Visual Basic (Declaration)
Function IsWrapper ( _
	collection As Object _
) As Boolean
C#
bool IsWrapper(
	Object collection
)
Visual C++
bool IsWrapper(
	Object^ collection
)
JavaScript
function isWrapper(collection);

Parameters

collection
Type: System..::.Object
The collection to see if this IPersistentCollection is wrapping.

Return Value

trueTruetruetrue (True in Visual Basic) if the IPersistentCollection is wrappping the collection instance, falseFalsefalsefalse (False in Visual Basic) otherwise.

See Also