ReservationCollection.FreeReservation(Int64) Method

Definition

When overridden in a derived class, releases a reservation of the specified size.

protected:
 abstract void FreeReservation(long size);
protected abstract void FreeReservation (long size);
abstract member FreeReservation : int64 -> unit
Protected MustOverride Sub FreeReservation (size As Long)

Parameters

size
Int64

The size of the reservation to release.

Notes to Implementers

When you inherit from ReservationCollection, you must implement this method to actually release space in the record sequence. You should not call ReservationFreed(Int64) when this method is complete; that logic is handled for you.

When you free records, you must free the same records that you reserved together in a previous call to the ReserveAndAppend method.

Applies to