Name

Structure...End Structure Statement

Synopsis


accessmodifier Structure StructureName
    [Implements interfacenames]
    variable declarations
    procedure declarations
End Structure
accessmodifier optional; Keyword

The possible values of accessmodifier are Public, Private, Friend, Protected, Protected Friend.

Implements interfacenames optional

Indicates that the structure implements the members of one or more interfaces

Description

Used to declare user-defined types. Structures are similar to classes, but they are value types rather than reference types.

Get VB.NET Language Pocket Reference 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.