Visual Basic 2005 with .NET 3.0 Programmer's Reference

The syntax for writing a structure is as follows:

[attribute_list] [Partial] [accessibility] [Shadows] _ Structure name[(Of type_list)] [Implements interface] statements End Structure

The structure’s attribute_list, Partial, accessibility, Shadows, type_list, and Implements statements are the same as those for classes. See the previous section for details.

The differences between a structure and a class are:

Категории