Class SecuritiesNumberCountField
Represents a generic signed Number Count (Field 99A).
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Subsembly.Swift.SecuritiesMarkets
Assembly: Subsembly.Sepa.dll
Syntax
public class SecuritiesNumberCountField : SecuritiesGenericField, ISecuritiesSequence
Constructors
SecuritiesNumberCountField(String, String)
Declaration
public SecuritiesNumberCountField(string sTag, string sQualifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | sTag | |
System.String | sQualifier |
Properties
IsEmpty
Declaration
public override bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
IsValid
Declaration
public override bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
NumberCount
The actual signed number count of this field.
Declaration
public int NumberCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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
Type | Condition |
---|---|
System.ArgumentException |
Methods
OnClear()
Declaration
protected override void OnClear()
Overrides
OnGenerateFieldContent(String, String)
Declaration
protected override string OnGenerateFieldContent(string sTag, string sQualifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | sTag | |
System.String | sQualifier |
Returns
Type | Description |
---|---|
System.String |
Overrides
OnParseFieldContent(SwiftField)
Declaration
protected override void OnParseFieldContent(SwiftField aField)
Parameters
Type | Name | Description |
---|---|---|
SwiftField | aField |
Overrides
Exceptions
Type | Condition |
---|---|
SwiftException |