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

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

Syntax

C#
Object Instantiate(
	int anticipatedSize
)
Visual Basic
Function Instantiate ( _
	anticipatedSize As Integer _
) As Object
Visual C++
Object^ Instantiate(
	int anticipatedSize
)

Parameters

anticipatedSize
Type: System..::..Int32
The anticipated size of the instantiated collection after we are done populating it. Note, may be negative to indicate that we not yet know anything about the anticipated size (i.e., when initializing from a result set row by row).

Return Value

[Missing <returns> documentation for "M:NHibernate.UserTypes.IUserCollectionType.Instantiate(System.Int32)"]

See Also