WeakReferenceListT Constructor |
Constructs a new list with a presized capacity
Namespace:
VelocityDb.Collection
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public WeakReferenceList(
int capacity = 1,
SessionBase session = null
)
Public Sub New (
Optional capacity As Integer = 1,
Optional session As SessionBase = Nothing
)
public:
WeakReferenceList(
int capacity = 1,
SessionBase^ session = nullptr
)
new :
?capacity : int *
?session : SessionBase
(* Defaults:
let _capacity = defaultArg capacity 1
let _session = defaultArg session null
*)
-> WeakReferenceList
Parameters
- capacity (Optional)
- Type: SystemInt32
Reserve space for this many elements - session (Optional)
- Type: VelocityDb.SessionSessionBase
Active session
See Also