Updated 04/06/2010
Main Menu

Visual Basic .Net Reserved Words

The following table contains a listing of the Visual Basic .NET language keywords. All language keywords are reserved. If your computer has VS installed, the links take you to
a description in the help file.

AddHandler AddressOf Alias And
AndAlso Ansi As Assembly
Auto Boolean ByRef Byte
ByVal Call Case Catch
CBool CByte CChar CDate
CDec CDbl Char CInt
Class CLng CObj Const
CShort CSng CStr CType
Date Decimal Declare Default
Delegate Dim DirectCast Do
Double Each Else ElseIf
End Enum Erase Error
Event Exit False Finally
For Friend Function Get
GetType GoSub GoTo Handles
If Implements Imports In
Inherits Integer Interface Is
Let Lib Like Long
Loop Me Mod Module
MustInherit MustOverride MyBase MyClass
Namespace New Next Not
Nothing NotInheritable NotOverridable Object
On Option Optional Or
OrElse Overloads Overridable Overrides
ParamArray Preserve Private Property
Protected Public RaiseEvent ReadOnly
ReDim REM RemoveHandler Resume
Return Select Set Shadows
Shared Short Single Static
Step Stop String Structure
Sub SyncLock Then Throw
To True Try TypeOf
Unicode Until Variant When
While With WithEvents WriteOnly
Xor #Const #ExternalSource #If...Then...#Else
#Region - & &=
* *= / /=
\ \= ^ ^=
+ += = -=

Note   GoSub, Let, and Variant are retained as keywords, although they are no longer used in Visual Basic .NET.