Members’ Visibility
Structures’ members require you to specify a scope qualifier. Structures accept only Private
, Public
, and Friend
qualifiers. If no qualifier is specified, Public
is provided by default. Only fields can also be declared using the Dim
keyword and are equivalent to Public
. The following line demonstrates this:
Get Visual Basic® 2010 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.