Instantiate an empty instance of the "underlying" collection (not a wrapper), but with the given anticipated size (i.e. accounting for initial capacity and perhaps load factor).

Namespace: NHibernate.Type
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public abstract Object Instantiate(
	int anticipatedSize
)
Visual Basic
Public MustOverride Function Instantiate ( _
	anticipatedSize As Integer _
) As Object
Visual C++
public:
virtual Object^ Instantiate(
	int anticipatedSize
) abstract

Parameters

anticipatedSize
Type: System..::..Int32
The anticipated size of the instantiated collection after we are done populating it.

Return Value

A newly instantiated collection to be wrapped.

See Also