Private Function GetMyArray() As SomeClass() Dim MyArray As New ArrayList Dim CurrentItem As SomeClass ' hat Eigenschaften ID, Name For i As Integer = 0 To MyData.Count - 1 CurrentItem = New SomeClass With CurrentItem .ID = i .Name = "blah " & i.ToString End With MyArray.Add(CurrentItem) Next Return DirectCast(MyArray.ToArray(GetType(SomeClass)), SomeClass()) End Function
Kategorien
-
Neueste Beiträge
- [SAP] Mailversand einrichten
- [SAP EWM] SAP EWM and SAP ERP integration via CIF
- [SAP] Nutzung der ALV-Anzeige im MM-Reporting
- [Raspberry Pi 4] Raspberry Pi als DNS Server
- [Raspberry Pi] SSH aktivieren
- [Raspberry Pi] Bootoptionen in der config.txt
- [Raspberry Pi 4] Bessere Youtube-Videoperformance in Google Chrome
- [Raspberry Pi 4] Direkt von SSD booten (ohne SD-Karte)
- [ABAP] Fixkontentabelle (T030) auslesen
- [SAPUI5] SAPUI5 Entwicklung mit SAP Business Application Studio (BAS)