UnloadEverything
Methode (Sub)
UnloadEverything ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK.
Beschreibung (Originaltext der englischen SDK-Dokumentation): Releases resources held by this object: sets the GC latency mode to Interactive, restores the original locale, removes the unhandled exception handler, unloads and releases the internal PDF object, clears collected PDF file attachments and forces a garbage collection. Call when the object is no longer needed.
Deklaration
Public Sub UnloadEverything()
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
alo.UnloadEverything()
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);
alo.UnloadEverything();
COM-Schnittstelle
UnloadEverything ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 3 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.