O'Reilly logo

VB.NET Language in a Nutshell, Second Edition by Steven Roman PhD, Paul Lomax, Ron Petrusha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Declaration

Element

Description

Const statement

Declares a constant

Class...End Class statement

Defines a class

Declare statement

Defines a prototype for a call to an external DLL library function

Dim statement

Declares a variable

Enum statement

Defines a series of constants as an enumerated type

Function statement

Defines a function

Friend keyword

Makes a procedure in a class callable from outside the class but within the project in which the class is defined

Option Explicit statement

Requires declaration of all variables

Private statement

Declares a local variable

Property statement

Defines a property

Protected statement

Declares a protected class member

Public statement

Declares a public or global variable

Static statement

Declares a static variable

Structure...End Structure statement

Declares a structure or user-defined type

Sub statement

Declares a subroutine

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required