Table of Contents

Class ComponentsByRepetitionIndexer

Namespace
EDIParser
Assembly
EDIParser.dll

Provides one-based access to the component collection associated with each field repetition.

public sealed class ComponentsByRepetitionIndexer
Inheritance
ComponentsByRepetitionIndexer
Inherited Members

Constructors

ComponentsByRepetitionIndexer()

Initializes an independent instance of the ComponentsByRepetitionIndexer class.

public ComponentsByRepetitionIndexer()

Properties

HasRepetition

Gets or sets a value indicating whether more than one field repetition is represented.

public bool HasRepetition { get; set; }

Property Value

bool

this[int]

Gets or sets the component collection associated with a field repetition.

public Components this[int oneBasedIndex] { get; set; }

Parameters

oneBasedIndex int

The one-based field-repetition index.

Property Value

Components

The component collection associated with the specified field repetition.

Exceptions

IndexOutOfRangeException

Thrown when the index is less than one or when a requested item exceeds the current collection length.

Length

Gets the number of component collections represented by this indexer.

public int Length { get; }

Property Value

int