BiffSstHeader Struct
Definition
Represents the counts at the head of an SST record: the total number of string references in the workbook and
the number of unique strings the table holds.
public readonly struct BiffSstHeader : IEquatable<BiffSstHeader>
- Implements
- Inherited Members
- Extension Methods
Remarks
The record identifier is Sst; the record exists only in BIFF8. The eight bytes of
counts are followed by the strings, which routinely overflow into CONTINUE records; GetSstHeader() decodes the counts without touching the strings, and BiffSstReader reads the strings.
Constructors
BiffSstHeader(uint, uint)
Represents the counts at the head of an SST record: the total number of string references in the workbook and
the number of unique strings the table holds.
public BiffSstHeader(uint TotalCount, uint UniqueCount)
Parameters
TotalCountuintThe number of
LABELSSTreferences across the workbook (cstTotal).UniqueCountuintThe number of strings in the table (
cstUnique).
Remarks
The record identifier is Sst; the record exists only in BIFF8. The eight bytes of
counts are followed by the strings, which routinely overflow into CONTINUE records; GetSstHeader() decodes the counts without touching the strings, and BiffSstReader reads the strings.
- See Also
Properties
TotalCount
The number of LABELSST references across the workbook (cstTotal).
public uint TotalCount { get; init; }
Property Value
UniqueCount
The number of strings in the table (cstUnique).
public uint UniqueCount { get; init; }
Property Value
Methods
Deconstruct(out uint, out uint)
public void Deconstruct(out uint TotalCount, out uint UniqueCount)
Parameters
Equals(BiffSstHeader)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BiffSstHeader other)
Parameters
otherBiffSstHeaderAn 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 ==(BiffSstHeader, BiffSstHeader)
public static bool operator ==(BiffSstHeader left, BiffSstHeader right)
Parameters
leftBiffSstHeaderrightBiffSstHeader
Returns
operator !=(BiffSstHeader, BiffSstHeader)
public static bool operator !=(BiffSstHeader left, BiffSstHeader right)
Parameters
leftBiffSstHeaderrightBiffSstHeader
Returns
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |