BiffLabelSstRecord Struct
Definition
Represents a decoded LABELSST record: a cell whose text is an entry of the shared string table (BIFF8).
public readonly struct BiffLabelSstRecord : IEquatable<BiffLabelSstRecord>
- Implements
- Inherited Members
- Extension Methods
Remarks
The record identifier is LabelSst. The payload is ten bytes: the cell prefix and the 32-bit index into the shared string table that BiffSstReader materializes. The record exists only in BIFF8; the writer rejects it under BIFF5, and the reader decodes it by layout in either version.
Constructors
BiffLabelSstRecord(int, int, ushort, uint)
Represents a decoded LABELSST record: a cell whose text is an entry of the shared string table (BIFF8).
public BiffLabelSstRecord(int Row, int Column, ushort XfIndex, uint SstIndex)
Parameters
RowintThe zero-based row index.
ColumnintThe zero-based column index.
XfIndexushortThe extended-format index of the cell.
SstIndexuintThe zero-based index of the cell's text in the shared string table.
Remarks
The record identifier is LabelSst. The payload is ten bytes: the cell prefix and the 32-bit index into the shared string table that BiffSstReader materializes. The record exists only in BIFF8; the writer rejects it under BIFF5, and the reader decodes it by layout in either version.
- See Also
Properties
Column
The zero-based column index.
public int Column { get; init; }
Property Value
Row
The zero-based row index.
public int Row { get; init; }
Property Value
SstIndex
The zero-based index of the cell's text in the shared string table.
public uint SstIndex { get; init; }
Property Value
XfIndex
The extended-format index of the cell.
public ushort XfIndex { get; init; }
Property Value
Methods
Deconstruct(out int, out int, out ushort, out uint)
public void Deconstruct(out int Row, out int Column, out ushort XfIndex, out uint SstIndex)
Parameters
Equals(BiffLabelSstRecord)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BiffLabelSstRecord other)
Parameters
otherBiffLabelSstRecordAn object to compare with this object.
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(BiffLabelSstRecord, BiffLabelSstRecord)
public static bool operator ==(BiffLabelSstRecord left, BiffLabelSstRecord right)
Parameters
leftBiffLabelSstRecordrightBiffLabelSstRecord
Returns
operator !=(BiffLabelSstRecord, BiffLabelSstRecord)
public static bool operator !=(BiffLabelSstRecord left, BiffLabelSstRecord right)
Parameters
leftBiffLabelSstRecordrightBiffLabelSstRecord
Returns
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |