AvaloqDokumentWerte.init Method AvaloqDokumentWerte.init Method EDKB12WS.AvaloqDokumentWerte.init Method init Method topic_000000000000002E EDKB12WS.AvaloqDokumentWerte.init EDKB12WS.AvaloqDokumentWerte.init AvaloqDokumentWerte.init EDKB12WS.AvaloqDokumentWerte.AvaloqDokumentWerte.init EDKB12WS.AvaloqDokumentWerte.init EDKB12WS (in EDKB12WS.exe) AvaloqDokumentWerte.init Method EDKB12WS.AvaloqDokumentWerte topic_000000000000002E
AvaloqDokumentWerte.init Method
Lädt externes Xml file für automatisierte Aktionen
Assembly: EDKB12WS (in EDKB12WS.exe)
Visual Basic
Public Function init( _
  ByVal xmlImportFile As ]]>FileInfoa]]>]]> _
) As ]]>Objecta]]>]]>
C#
public ]]>objecta]]>]]> init(
  ]]>FileInfoa]]>]]> xmlImportFile
)
C++
public:
]]>objecta]]>]]>^ init(
  ]]>FileInfoa]]>]]>^ xmlImportFile
)
JScript
public function init(
   xmlImportFile : ]]>FileInfoa]]>]]>
) : ]]>objecta]]>]]>;
ParametersxmlImportFile Das Xml File mit den entsprechenden Parametern
$END-IFNOTEMPTY$
Visual Basic Copy CodeCopy Code ]]>
Public Function init(ByVal xmlImportFile As FileInfo)
   Try

       Dim doc As New XmlDocument()

       doc.Load(xmlImportFile.FullName)

       'read all parameter nodes
       Dim parameterNodes As XmlNodeList
       parameterNodes = doc.SelectNodes("action/dokwerte/parameter")

       If parameterNodes.Count > 0 Then
           Dim node As XmlNode
           Dim name, value, dataType As String

           Dim parameterCounter As Integer = 0

           For Each node In parameterNodes
               'Read all Document specified Values
               '20080401 RGL zusätzliches TRY wenn node <parameter> leer geliefert wird kein Absturz
               Try
                   name = node.SelectSingleNode("name").InnerText
                   value = node.SelectSingleNode("value").InnerText
                   objDokumentWert = New AvaloqDokumentWert(name, value)
                   arrDoukmentWerte.Add(objDokumentWert)
               Catch ex As Exception
                   'xxx
                   'TKBLib.Errorhandling.TraceHelper.Msg("EdokaLib.Common.Action.Load", ex.Message & ex.StackTrace, TraceLevel.Error)
               End Try
               parameterCounter = parameterCounter + 1

           Next
       End If

   Catch ex As Exception
       'xxx
       '        TKBLib.Errorhandling.TraceHelper.Msg("EdokaLib.Common.Action.Load", ex.Message & ex.StackTrace, TraceLevel.Error)
       Throw ex
   End Try
End Function
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2 The .NET Framework does not support all versions of every platform. For a list of the supported versions, see ]]>System Requirementsa]]>]]>.
.NET Framework Supported in: 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0
.NET Compact Framework Supported in: 3.5, 2.0, 1.0
XNA Framework Supported in: 3.0, 2.0, 1.0
Reference AvaloqDokumentWerte ClassAvaloqDokumentWerte Class
AvaloqDokumentWerte AvaloqDokumentWerte MembersAvaloqDokumentWerte AvaloqDokumentWerte Members