Class SepaPostalAddress
Inheritance
System.Object
SepaPostalAddress
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)
System.Object.ToString()
Assembly: Subsembly.Sepa.dll
Syntax
public class SepaPostalAddress : SepaObject
Constructors
SepaPostalAddress(Boolean)
Declaration
public SepaPostalAddress(bool fIsMandatory)
Parameters
Type |
Name |
Description |
System.Boolean |
fIsMandatory |
|
Properties
AddressLines
Unstructured address lines.
Declaration
public string[] AddressLines { get; set; }
Property Value
Type |
Description |
System.String[] |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set an array that contained null values, or strings
longer than 70 characters.
|
BuildingName
Declaration
public string BuildingName { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 35 characters.
|
BuildingNumber
Declaration
public string BuildingNumber { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 16 characters.
|
Country
Two letter ISO country code.
Declaration
public string Country { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a country code that did not consist of exactly two
upper case letters.
|
CountrySubDivision
Declaration
public string CountrySubDivision { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 35 characters.
|
Department
Declaration
public string Department { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 70 characters.
|
DistrictName
Declaration
public string DistrictName { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 35 characters.
|
Floor
Declaration
public string Floor { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 70 characters.
|
IsEmpty
Declaration
public override bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
PostBox
Declaration
public string PostBox { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 16 characters.
|
PostCode
Declaration
public string PostCode { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 16 characters.
|
PostCodeAndTownName
Declaration
public string PostCodeAndTownName { get; }
Property Value
Type |
Description |
System.String |
|
Remarks
Room
Declaration
public string Room { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 70 characters.
|
StreetName
Declaration
public string StreetName { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 70 characters.
|
StreetNameAndBuildingNumber
Declaration
public string StreetNameAndBuildingNumber { get; }
Property Value
Type |
Description |
System.String |
|
Remarks
SubDepartment
Declaration
public string SubDepartment { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 70 characters.
|
TownLocationName
Declaration
public string TownLocationName { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 35 characters.
|
TownName
Declaration
public string TownName { get; set; }
Property Value
Type |
Description |
System.String |
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string with more than 35 characters.
|
Methods
Clear()
Declaration
public override void Clear()
Overrides
OnReadXml(XmlReader, SepaMessageInfo)
Declaration
protected override void OnReadXml(XmlReader aXmlReader, SepaMessageInfo aMessageInfo)
Parameters
Type |
Name |
Description |
System.Xml.XmlReader |
aXmlReader |
|
SepaMessageInfo |
aMessageInfo |
|
Overrides
OnValidate(ICollection<SepaException>, String)
Declaration
protected override void OnValidate(ICollection<SepaException> vErrors, string sPath)
Parameters
Type |
Name |
Description |
System.Collections.Generic.ICollection<SepaException> |
vErrors |
|
System.String |
sPath |
|
Overrides
OnWriteXml(XmlWriter, SepaMessageInfo)
Declaration
protected override void OnWriteXml(XmlWriter aXmlWriter, SepaMessageInfo aMessageInfo)
Parameters
Type |
Name |
Description |
System.Xml.XmlWriter |
aXmlWriter |
|
SepaMessageInfo |
aMessageInfo |
|
Overrides