get_URIUniversalCommunication

Methode (Function) · gibt String zurück

get_URIUniversalCommunication ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK. Sie betrifft BT-34 (Elektronische Adresse des Verkäufers), BT-49 (Elektronische Adresse des Käufers).

Beschreibung (Originaltext der englischen SDK-Dokumentation): BT-34, BT-49: Reads the electronic address of the seller or buyer.

Rückgabe: The electronic address, or an empty string if none is set.

Deklaration

Public Function get_URIUniversalCommunication(Optional ByVal UseSeller As Boolean = True, Optional ByRef schemeID As String = "") As String

Parameter

NameTypPflichtBeschreibung
UseSellerBooleanoptional (Standard: True)True reads the seller (BT-34), False the buyer (BT-49)
schemeIDStringoptional (Standard: "")(output) BT-34-1, BT-49-1: Scheme of the electronic address (e.g. EM for e-mail)

Aufruf (VB.NET)

Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
Dim ergebnis = alo.get_URIUniversalCommunication()

Aufruf (C#)

var zfStandard = Aloaha_ZUGFeRD.iXML.ZUGFeRDVersion.xInvoice;   // Optional ByRef im Konstruktor: in C# mit ref übergeben
var alo = new Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, false, "IHR-LIZENZSCHLUESSEL", ref zfStandard);
bool useSeller = true;
string schemeID = "";
var ergebnis = alo.get_URIUniversalCommunication(useSeller, ref schemeID);

Business Terms (EN 16931)

Artikel mit get_URIUniversalCommunication

COM-Schnittstelle

get_URIUniversalCommunication ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 164 von 343) und damit auch aus VB6, VBA/Access und anderen COM-Clients über CreateObject("Aloaha_ZUGFeRD.XML") aufrufbar. Neue Mitglieder werden immer am Ende von iXML angefügt, damit bestehende COM-Clients unverändert weiterlaufen; nach einem Update die Typbibliothek neu registrieren.

Quelle: XML-Dokumentationskommentare des Aloaha ZUGFeRD SDK (xml.vb). Gleiche Signatur in VB6/VBA über COM. In C# werden ByRef-Parameter mit ref übergeben, VB-Eigenschaften mit Parametern heißen get_…/set_…, optionale Parameter können entfallen.