Returns a reference to the elements in the collection.
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overridable Function GetElementsCollection ( _ collection As Object _ ) As ICollection |
C# |
---|
public virtual ICollection GetElementsCollection( Object collection ) |
Visual C++ |
---|
public: virtual ICollection^ GetElementsCollection( Object^ collection ) |
JavaScript |
---|
function getElementsCollection(collection); |
Parameters
- collection
- Type: System..::.Object
The object that holds the ICollection.
Return Value
An ICollection of the Elements(classes) in the Collection.
Remarks
By default the parameter collection is just cast to an ICollection. Collections
such as Maps and Sets should override this so that the Elements are returned - not a
DictionaryEntry.