Struct S101Attribute
Attribute value from the ATTR field.
public readonly record struct S101Attribute : IEquatable<S101Attribute>
- Implements
- Inherited Members
Constructors
S101Attribute(ushort, ushort, string, ushort, S101UpdateInstruction)
Attribute value from the ATTR field.
public S101Attribute(ushort NumericCode, ushort Index, string Value, ushort ParentIndex = 0, S101UpdateInstruction UpdateInstruction = S101UpdateInstruction.None)
Parameters
NumericCodeushortNumeric attribute code resolved against AttributeTypeCatalogue.
IndexushortSequence index within a complex attribute (1 marks the start of an instance); maps to ATIX.
ValuestringAttribute value as a string; numeric and enumerated values are stringified.
ParentIndexushortParent attribute index for nested/complex attributes (PAIX); 0 when top-level.
UpdateInstructionS101UpdateInstructionPer-attribute update instruction (ATIN) used during update application; None in base cells.
Properties
Index
Sequence index within a complex attribute (1 marks the start of an instance); maps to ATIX.
public ushort Index { get; init; }
Property Value
NumericCode
Numeric attribute code resolved against AttributeTypeCatalogue.
public ushort NumericCode { get; init; }
Property Value
ParentIndex
Parent attribute index for nested/complex attributes (PAIX); 0 when top-level.
public ushort ParentIndex { get; init; }
Property Value
UpdateInstruction
Per-attribute update instruction (ATIN) used during update application; None in base cells.
public S101UpdateInstruction UpdateInstruction { get; init; }
Property Value
Value
Attribute value as a string; numeric and enumerated values are stringified.
public string Value { get; init; }