Create a custom listViewItem class to store additional hidden info - VB .Net
I want to store additional information about a listview item using a custom class, but I can't seem to get it to work. I'm currently using this code to accomplish something similar using a listbox item. I just want to do the same thing with a listview. Public Class myListboxItem Public id As String Public rootFolder As String Public name As String Public info() As String Public Text As String Public Overrides Function ToString() As String Return Me.Text End Function End Class I set the properties like this Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)