From the course: Visual Basic Essential Training
Unlock this course with a free trial
Join today to access over 24,500 courses taught by industry experts.
Bind a list to a user control - Visual Basic Tutorial
From the course: Visual Basic Essential Training
Bind a list to a user control
- [Narrator] When a type implements an interface, it must have concrete implementations of all the methods, properties, events, and other members defined in the interface. One benefit of this fact is that any developer can write code to use that interface knowing that they can leverage the interface members in their code. We're looking at a class diagram here and that will allow us to see the relationship between classes and what interfaces they implement. Now the class diagram is an optional install for Visual Studio. It has the ability to add a new file to a project called the ClassDiagram. So you can see over here in Solution Explorer, I have one called ClassDiagram1.cd. What we're looking at here on the ClassDiagram is some interfaces and some classes. These green boxes over here represent interfaces. The IEnumerable(Of T) interface inherits from IEnumerable. And then these lines with the circle in the top, represent the interfaces that a type implements. So if we look at the…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Explore the collection classes10m 18s
-
(Locked)
Use a ListBox instead of a text control3m 10s
-
(Locked)
Create new collections6m 30s
-
(Locked)
Initialize a collection2m 23s
-
(Locked)
Add items to a list1m 13s
-
(Locked)
Get items from the list3m 16s
-
(Locked)
Remove items from a list1m 15s
-
(Locked)
Iterate over a list5m 20s
-
(Locked)
Bind a list to a user control5m 46s
-
(Locked)
Delegates and lambda expressions4m 36s
-
(Locked)
Customize a method with predicate functions5m 21s
-
(Locked)
Quick look at other collection classes4m 28s
-
(Locked)
-
-
-