User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
coding [2019/07/09 21:55]
coding [2019/07/09 21:57]
Line 2: Line 2:
 Various coding hints and tips Various coding hints and tips
-''​Public Class YourClass Dim selectedMedias = From mt In _mediaTable\\ Where _mediaTypes.Contains(mt.Item("​type"​))\\ Select New SysMedia With {\\ .Type = mt.Item("​type"​),​\\ .URL = mt.Item("​media_Text"​),​\\ .Region = mt.Item("​region"​),​\\ .MD5 = mt.Item("​md5"​),​\\ .Format = mt.Item("​format"​)\\ }\\ \\ For Each MedDr As SysMedia In selectedMedias\\ debug.writeline(MedDr.Type)\\ Next \\ \\ End Class\\ \\ Public Class SysMedia Public Type As String\\ Public URL As String\\ Public Region As String\\ Public MD5 As String\\ Public Format As String End Class ''​ 
coding.txt · Last modified: 2019/11/17 14:33 by stigzler