InertiaM
Well-known member
VB.NET:
Public allVerticalHoles As List(Of VerticalHole)
<Serializable()>Public Class VerticalHole
Private _ID As Int32 = 0
Private _X As Single = 0
Private _Y As Single = 0
Private _strX as string = ""
Private _strY as string = ""
Private _Diameter As Single = 0
Private _Depth As Single = 0
Private _bMirrored As Boolean = False
Public Property ID() As Int32
'..
End Property
Public ReadOnly Property X() As Single
'..
End Property
Public ReadOnly Property Y() As Single
'..
End Property
Public Property strX() As String
'..
End Property
Public Property strY() As String
'..
End Property
Public ReadOnly Property Diameter() As Single
'..
End Property
Public ReadOnly Property Depth() As Single
'..
End Property
Public Property bMirrored() As Boolean
'..
End Property
End Class
How do I search for an item in the "allVerticalHoles" list by the X value as well as the Y value, or say the X value as well as the diameter ?
Last edited: