IndexedDBIndexPosition Struct

A position in the records of an index (see IndexedDBBackendTransaction.GetIndexRecords).

public readonly struct IndexedDBIndexPosition : IEquatable<IndexedDBIndexPosition>
Implements

Constructors

NameDescription
IndexedDBIndexPosition(byte[], byte[], bool)A position in the records of an index (see IndexedDBBackendTransaction.GetIndexRecords).

IndexedDBIndexPosition(byte[], byte[], bool)

A position in the records of an index (see IndexedDBBackendTransaction.GetIndexRecords).

public IndexedDBIndexPosition(byte[] Key, byte[] PrimaryKey, bool Inclusive)

Parameters

Key byte[]
The encoded key of the index.
PrimaryKey byte[]
The encoded primary key.
Inclusive bool
Whether the record at the position is included.

Properties

NameDescription
InclusiveWhether the record at the position is included.
KeyThe encoded key of the index.
PrimaryKeyThe encoded primary key.

Whether the record at the position is included.

public bool Inclusive { get; init; }

Property value

bool

The encoded key of the index.

public byte[] Key { get; init; }

Property value

byte[]

The encoded primary key.

public byte[] PrimaryKey { get; init; }

Property value

byte[]

Methods

NameDescription
Deconstruct(byte[], byte[], bool)
Equals(IndexedDBIndexPosition)
Equals(object)
GetHashCode()
ToString()

Deconstruct(byte[], byte[], bool)

public void Deconstruct(out byte[] Key, out byte[] PrimaryKey, out bool Inclusive)

Parameters

Key byte[]
PrimaryKey byte[]
Inclusive bool

No documentation is available.

Equals overloads

Equals(IndexedDBIndexPosition)

public bool Equals(IndexedDBIndexPosition other)
Parameters
other IndexedDBIndexPosition
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(IndexedDBIndexPosition, IndexedDBIndexPosition)
operator !=(IndexedDBIndexPosition, IndexedDBIndexPosition)

operator ==(IndexedDBIndexPosition, IndexedDBIndexPosition)

public static bool operator ==(IndexedDBIndexPosition left, IndexedDBIndexPosition right)

No documentation is available.

operator !=(IndexedDBIndexPosition, IndexedDBIndexPosition)

public static bool operator !=(IndexedDBIndexPosition left, IndexedDBIndexPosition right)

No documentation is available.