IndexedDBKeyRange Class
A range of encoded keys (https://w3c.github.io/IndexedDB/#range-construct). A null bound is unbounded, and an open bound is excluded from the range.
public sealed class IndexedDBKeyRange : IEquatable<IndexedDBKeyRange>- Implements
Constructors
| Name | Description |
|---|---|
| IndexedDBKeyRange(byte[]?, byte[]?, bool, bool) | A range of encoded keys (https://w3c.github.io/IndexedDB/#range-construct). A null bound is unbounded, and an open bound is excluded from the range. |
IndexedDBKeyRange(byte[]?, byte[]?, bool, bool)
IndexedDBBackend.csProperties
| Name | Description |
|---|---|
| All | Gets the range of all the keys. |
| Lower | The lower bound, or null. |
| LowerOpen | Whether the lower bound is excluded. |
| Upper | The upper bound, or null. |
| UpperOpen | Whether the upper bound is excluded. |
Lower
IndexedDBBackend.csLowerOpen
IndexedDBBackend.csUpper
IndexedDBBackend.csUpperOpen
IndexedDBBackend.csMethods
| Name | Description |
|---|---|
| Contains(ReadOnlySpan<byte>) | Returns whether an encoded key is in the range. |
| Deconstruct(byte[]?, byte[]?, bool, bool) | |
| Equals(IndexedDBKeyRange?) | |
| Equals(object?) | |
| GetHashCode() | |
| Only(byte[]) | Creates the range that contains only one key. |
| ToString() |
Contains(ReadOnlySpan<byte>)
IndexedDBBackend.csReturns whether an encoded key is in the range.
public bool Contains(ReadOnlySpan<byte> key)Deconstruct(byte[]?, byte[]?, bool, bool)
Equals overloads
Equals(IndexedDBKeyRange?)
public bool Equals(IndexedDBKeyRange? other)No documentation is available.
Equals(object?)
GetHashCode()
Only(byte[])
IndexedDBBackend.csCreates the range that contains only one key.
public static IndexedDBKeyRange Only(byte[] key)ToString()
Operators
| Name | Description |
|---|---|
| operator ==(IndexedDBKeyRange?, IndexedDBKeyRange?) | |
| operator !=(IndexedDBKeyRange?, IndexedDBKeyRange?) |
operator ==(IndexedDBKeyRange?, IndexedDBKeyRange?)
public static bool operator ==(IndexedDBKeyRange? left, IndexedDBKeyRange? right)No documentation is available.
operator !=(IndexedDBKeyRange?, IndexedDBKeyRange?)
public static bool operator !=(IndexedDBKeyRange? left, IndexedDBKeyRange? right)No documentation is available.