2 Imports System
.Collections
.ObjectModel
6 Public Sub New(ByVal name
As String, ByVal state
As String)
13 Public Property Name() As String
17 Set(ByVal value
As String)
22 Public Property State() As String
26 Set(ByVal value
As String)
32 Private _name
As String
33 Private _state
As String
37 Inherits
ObservableCollection(Of Place
)
41 MyBase
.Add(New Place("Bellevue", "WA"))
42 MyBase
.Add(New Place("Gold Beach", "OR"))
43 MyBase
.Add(New Place("Kirkland", "WA"))
44 MyBase
.Add(New Place("Los Angeles", "CA"))
45 MyBase
.Add(New Place("Portland", "ME"))
46 MyBase
.Add(New Place("Portland", "OR"))
47 MyBase
.Add(New Place("Redmond", "WA"))
48 MyBase
.Add(New Place("San Diego", "CA"))
49 MyBase
.Add(New Place("San Francisco", "CA"))
50 MyBase
.Add(New Place("San Jose", "CA"))
51 MyBase
.Add(New Place("Seattle", "WA"))