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

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