Table of Contents

Class Iso8211DataDescriptiveRecord

Namespace
EncDotNet.Iso8211
Assembly
EncDotNet.Iso8211.dll

Represents a parsed ISO 8211 Data Descriptive Record (DDR).

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

Remarks

The DDR is the first record in an ISO 8211 file and describes the structure of all subsequent data records. It contains field definitions that specify the names, types, and formats of subfields within each field.

Use Read(Iso8211Record) to create an instance from a raw Iso8211Record.

Properties

FieldDefinitions

Gets the field definitions contained in this DDR.

public IReadOnlyList<Iso8211FieldDefinition> FieldDefinitions { get; init; }

Property Value

IReadOnlyList<Iso8211FieldDefinition>

Remarks

Each field definition describes the structure of a corresponding field in data records. The first entry (tag "0000") is the record directory field definition and is typically excluded from data record field lookups.

Methods

GetFieldDefinition(string)

Gets a field definition by its tag.

public Iso8211FieldDefinition? GetFieldDefinition(string tag)

Parameters

tag string

The field tag to search for.

Returns

Iso8211FieldDefinition

The field definition with the specified tag, or null if not found.