Bewerken

Share via


ReservationCollection.Contains(Int64) Method

Definition

Determines whether a reservation of the specified size has been made. This method cannot be inherited.

public:
 virtual bool Contains(long size);
public bool Contains (long size);
abstract member Contains : int64 -> bool
override this.Contains : int64 -> bool
Public Function Contains (size As Long) As Boolean

Parameters

size
Int64

The size to locate in the collection.

Returns

true if at least one reservation of the specified size has been made; otherwise, false.

Implements

Exceptions

The method was called after the sequence has been disposed of.

There is not enough memory to continue the execution of the program.

Access for the specified log store is denied by the operating system.

Applies to