VB.NET Language in a Nutshell

   

D.1 Visual Basic Intrinsic Constants

Table D-1 contains an alphabetical list of VB's built-in symbolic constants. They are actually implemented as fields of the Constants class in the Microsoft.VisualBasic namespace.

Table D-1. Visual Basic constants

Constant

Value

VbAbort

3

VbAbortRetryIgnore

&H00000002

VbApplicationModal

&H00000000

VbArchive

32

VbArray

8192

VbBack

Chr(8)

VbBinaryCompare

VbBoolean

11

VbByte

17

VbCancel

2

VbCr

Chr(13)

VbCritical

&H00000010

VbCrLf

Chr(13) & Chr(10)

VbCurrency

6

VbDate

7

VbDecimal

14

VbDefaultButton1

&H00000000

VbDefaultButton2

&H00000100

VbDefaultButton3

&H00000200

VbDirectory

16

VbDouble

5

VbEmpty

VbExclamation

&H00000030

VbFalse

VbFirstFourDays

2

VbFirstFullWeek

3

VbFirstJan1

1

VbFormFeed

Chr(12)

VbFriday

6

VbGeneralDate

VbGet

2

VbHidden

2

VbHide

VbHiragana

32

VbIgnore

5

VbInformation

&H00000040

VbInteger

3

VbKatakana

16

VbLet

4

VbLf

Chr(10)

VbLinguisticCasing

1024

VbLong

20

VbLongDate

1

VbLongTime

3

VbLowerCase

2

VbMaximizedFocus

3

VbMethod

1

VbMinimizedFocus

2

VbMinimizedNoFocus

6

VbMonday

2

VbMsgBoxHelp

&H00004000

VbMsgBoxRight

&H00080000

VbMsgBoxRtlReading

&H00100000

VbMsgBoxSetForeground

&H00010000

VbNarrow

8

VbNewLine

Chr(13) & Chr(10)

VbNo

7

VbNormal

VbNormalFocus

1

VbNormalNoFocus

4

VbNull

1

VbNullChar

Chr(0)

VbNullString

 

VbObject

9

VbObjectError

&H80040000

VbOK

1

VbOKCancel

&H00000001

VbOKOnly

&H00000000

VbProperCase

3

VbQuestion

&H00000020

VbReadOnly

1

VbRetry

4

VbRetryCancel

&H00000005

VbSaturday

7

VbSet

8

VbShortDate

2

VbShortTime

4

VbSimplifiedChinese

256

VbSingle

4

VbString

8

VbSunday

1

VbSystem

4

VbSystemModal

&H00001000

VbTab

Chr(9)

VbTextCompare

1

VbThursday

5

VbTraditionalChinese

512

VbTrue

1

VbTuesday

3

VbUpperCase

1

VbUseDefault

&HFFFFFFFE

VbUserDefinedType

36

VbUseSystem

VbUseSystemDayOfWeek

VbVariant

12

VbVerticalTab

Chr(11)

VbVolume

8

VbWednesday

4

VbWide

4

VbYes

6

VbYesNo

&H00000004

VbYesNoCancel

&H00000003

   

Категории