https://www.cnblogs.com/sdfczyx/p/7132769.html
VB.Net关键字
下表列出了VB.Net保留的关键字:
AddHandler |
AddressOf |
Alias |
And |
AndAlso |
As |
Boolean |
ByRef |
Byte |
ByVal |
Call |
Case |
Catch |
CBool |
CByte |
CChar |
CDate |
CDec |
CDbl |
Char |
CInt |
Class |
CLng |
CObj |
Const |
Continue |
CSByte |
CShort |
CSng |
CStr |
CType |
CUInt |
CULng |
CUShort |
Date |
Decimal |
Declare |
Default |
Delegate |
Dim |
DirectCast |
Do |
Double |
Each |
Else |
ElseIf |
End |
End If |
Enum |
Erase |
Error |
Event |
Exit |
False |
Finally |
For |
Friend |
Function |
Get |
GetType |
GetXML Namespace |
Global |
GoTo |
Handles |
If |
Implements |
Imports |
In |
Inherits |
Integer |
Interface |
Is |
IsNot |
Let |
Lib |
Like |
Long |
Loop |
Me |
Mod |
Module |
MustInherit |
MustOverride |
MyBase |
MyClass |
Namespace |
Narrowing |
New |
Next |
Not |
Nothing |
Not Inheritable |
Not Overridable |
Object |
Of |
On |
Operator |
Option |
Optional |
Or |
OrElse |
Overloads |
Overridable |
Overrides |
ParamArray |
Partial |
Private |
Property |
Protected |
Public |
RaiseEvent |
ReadOnly |
ReDim |
REM |
Remove Handler |
Resume |
Return |
SByte |
Select |
Set |
Shadows |
Shared |
Short |
Single |
Static |
Step |
Stop |
String |
Structure |
Sub |
SyncLock |
Then |
Throw |
To |
True |
Try |
TryCast |
TypeOf |
UInteger |
While |
Widening |
With |
WithEvents |
WriteOnly |
Xor |
vbCrLf |
回车/换行字符组合。 |
||||
vbCr |
回车字符。 |
||||
vbLf |
换行字符。 |
||||
vbNewLine |
vbNullChar |
空字符。 |
|||
vbNullString |
不等于零长度字符串(“”); 用于调用外部过程。 |
||||
vbObjectError |
|||||
vbTab |
标签字符。 |
||||
vbBack |
退格字符。 |
||||
数据类型 |
存储分配 |
值范围 |
|||
Boolean |
取决于实施平台 |
真或假 |
|||
Byte |
1个字节 |
0到255(无符号) |
|||
Char |
2个字节 |
0〜65535(无符号) |
|||
Date |
8个字节 |
00:00:00(午夜),时间为0001年12月31日11时31分至晚上11:59:59 |
|||
Decimal |
16字节 |
0至+/- 79,228,162,514,264,337,593,543,950,335(+/- 7.9 ... E + 28),没有小数点; 0到+/- 7.9228162514264337593543950335,其中小数点右边有28个位 |
|||
Double |
-1.79769313486231570E + 308至-4.94065645841246544E-324,对于负值 |
||||
Integer |
4个字节 |
-2,147,483,648至2,647(有符号) |
|||
Long |
-9,223,372,036,854,775,808至9,807(签字) |
||||
Object |
在32位平台上的4个字节 在64位平台8字节 |
任何类型都可以存储在Object类型的变量中 |
|||
SByte |
-128至127(签字) |
||||
Short |
-32,768至32,767(签字) |
||||
Single |
-3.4028235E + 38至-1.401298E-45为负值; 1.401298E-45至3.4028235E + 38正值 |
||||
String |
0到大约20亿个Unicode字符 |
||||
UInteger |
0至4294967295(无符号) |
||||
ULONG |
0至18,446,744,073,709,551,615(签名) |
||||
User-Defined |
结构的每个成员具有由其数据类型确定的范围并且独立于其他成员的范围 |
||||
UShort |
0至65,535(无符号) |