Class SecuritiesNumberCountField

Namespace
Subsembly.Swift.SecuritiesMarkets
Assembly
Subsembly.Sepa.dll

Represents a generic signed Number Count (Field 99A).

public class SecuritiesNumberCountField : SecuritiesGenericField, ISecuritiesSequence
Inheritance
SecuritiesNumberCountField
Implements
Inherited Members

Constructors

SecuritiesNumberCountField(string, string)

public SecuritiesNumberCountField(string sTag, string sQualifier)

Parameters

sTag string
sQualifier string

Properties

IsEmpty

public override bool IsEmpty { get; }

Property Value

bool

NumberCount

The actual signed number count of this field.

public int NumberCount { get; set; }

Property Value

int

Remarks

As the field may only contain three digits, the value must be in the range from -999 through 999. An unset field will have the value zero. To check whether the field is unset the property IsEmpty shall be used.

Exceptions

ArgumentException

Methods

OnClear()

protected override void OnClear()

OnGenerateFieldContent(string, string)

protected override string OnGenerateFieldContent(string sTag, string sQualifier)

Parameters

sTag string
sQualifier string

Returns

string

OnParseFieldContent(SwiftField)

protected override void OnParseFieldContent(SwiftField aField)

Parameters

aField SwiftField

Exceptions

SwiftException

OnValidate()

protected override string OnValidate()

Returns

string