Table of Contents

Class Iso8211SubfieldDefinition

Namespace
EncDotNet.Iso8211
Assembly
EncDotNet.Iso8211.dll

Represents a single subfield definition within a field definition.

public sealed record Iso8211SubfieldDefinition : IEquatable<Iso8211SubfieldDefinition>
Inheritance
Iso8211SubfieldDefinition
Implements
Inherited Members

Remarks

A subfield definition specifies the name and format of an individual subfield within an ISO 8211 field. The format determines how to read the subfield data from binary field data.

Properties

Format

Gets the format specification for this subfield.

public Iso8211SubfieldFormat Format { get; init; }

Property Value

Iso8211SubfieldFormat

Index

Gets the index of this subfield within its parent field definition.

public int Index { get; init; }

Property Value

int

IsRepeating

Gets whether this subfield is part of a repeating group.

public bool IsRepeating { get; init; }

Property Value

bool

Remarks

When true, this subfield and all subsequent subfields in the parent field definition form a group that may repeat multiple times within the field data. The group is indicated by a * prefix in the DDR descriptor.

Name

Gets the subfield name/label (e.g., "RCNM", "RCID", "DSNM").

public string Name { get; init; }

Property Value

string