Structures
Structures are .NET objects that are represented by a Structure..End Structure
code block. Structures are value types, and they are described in more detail in Chapter 4. For classes, structures can expose properties, methods, and so on. The following is an example of a structure declaration:
Structure SomeValues Property FirstValue As Boolean Property SecondValue As Integer Sub DoSomething() End SubEnd Structure
Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.