Table of Contents

Class Iso8211Record

Namespace
EncDotNet.Iso8211
Assembly
EncDotNet.Iso8211.dll

Represents a single ISO 8211 record with its leader, directory, and fields.

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

Properties

Directory

Gets the directory entries for this record.

public IReadOnlyList<Iso8211DirectoryEntry> Directory { get; init; }

Property Value

IReadOnlyList<Iso8211DirectoryEntry>

Fields

Gets the fields contained in this record.

public IReadOnlyList<Iso8211Field> Fields { get; init; }

Property Value

IReadOnlyList<Iso8211Field>

IsDataDescriptiveRecord

Gets whether this record is a Data Descriptive Record (DDR).

public bool IsDataDescriptiveRecord { get; }

Property Value

bool

Leader

Gets the leader information for this record.

public Iso8211RecordLeader Leader { get; init; }

Property Value

Iso8211RecordLeader

Methods

GetFieldByTag(string)

Gets a field by its tag.

public Iso8211Field? GetFieldByTag(string tag)

Parameters

tag string

The tag to search for.

Returns

Iso8211Field

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

GetFieldsByTag(string)

Gets all fields with the specified tag.

public IEnumerable<Iso8211Field> GetFieldsByTag(string tag)

Parameters

tag string

The tag to search for.

Returns

IEnumerable<Iso8211Field>

All fields with the specified tag.