,并将它们添加到列表中: Class DocInfo Public Property fullPath: Public docsInfo As New List(Of DocInfo) 然后我有一个按钮处理程序,可以将新的项目添加到该列表中: Private Sub AddToList_Button_Click现在,重要的bit - GetTitle()和GetPathName()在每
我读过,列表不能是字典键,因为可变对象不能被散列。但是,自定义对象似乎也是可变的:class Vertex(object): self.key= key
v.color = 'grey' # this line suggests the custom object is mutable
但是,与列表不同</