Visual Basic Runtime Library Members

 

Updated: July 20, 2015

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

The Microsoft.VisualBasic namespace contains the classes, modules, constants, and enumerations that constitute the Visual Basic runtime library. These library members provide procedures, properties, and constant values you can use in your code. Each module and class represents a particular category of functionality.

AddClearContainsCount
GetEnumeratorItemRemove
ClassIDEventIDInterfaceIDInterfaceShadows
BackCrCrLfFormFeed
LfNewLineNullCharQuote
TabVerticalTab
vbAbortvbAbortRetryIgnorevbApplicationModalvbArchive
vbArrayvbBackvbBinaryComparevbBoolean
vbBytevbCancelvbCrvbCritical
vbCrLfvbCurrencyvbDatevbDecimal
vbDefaultButton1vbDefaultButton2vbDefaultButton3vbDirectory
vbDoublevbEmptyvbExclamationvbFalse
vbFirstFourDaysvbFirstFullWeekvbFirstJan1vbFormFeed
vbFridayvbGeneralDatevbGetvbHidden
vbHidevbHiraganavbIgnorevbInformation
vbIntegervbKatakanavbLetvbLf
vbLinguisticCasingvbLongvbLongDatevbLongTime
vbLowerCasevbMaximizedFocusvbMethodvbMinimizedFocus
vbMinimizedNoFocusvbMondayvbMsgBoxHelpvbMsgBoxRight
vbMsgBoxRtlReadingvbMsgBoxSetForegroundvbNarrowvbNewLine
vbNovbNormalvbNormalFocusvbNormalNoFocus
vbNullvbNullCharvbNullStringvbObject
vbObjectErrorvbOKvbOKCancelvbOKOnly
vbProperCasevbQuestionvbReadOnlyvbRetry
vbRetryCancelvbSaturdayvbSetvbShortDate
vbShortTimevbSimplifiedChinesevbSinglevbString
vbSundayvbSystemvbSystemModalvbTab
vbTextComparevbThursdayvbTraditionalChinesevbTrue
vbTuesdayvbUpperCasevbUseDefaultvbUserDefinedType
vbUseSystemvbUseSystemDayOfWeekvbVariantvbVerticalTab
vbVolumevbWednesdayvbWidevbYes
vbYesNovbYesNoCancel
ErrorToStringFixHexInt
OctStrVal
DateAddDateDiffDatePartDateSerial
DateStringDateValueDayHour
MinuteMonthMonthNameNow
SecondTimeOfDayTimerTimeSerial
TimeStringTimeValueTodayWeekday
WeekdayNameYear
ClearDescriptionErlGetException
HelpContextHelpFileLastDllErrorNumber
RaiseRaise
ChDirChDriveCurDirDir
EOFFileAttrFileCloseFileCopy
FileDateTimeFileGetFileGetObjectFileLen
FileOpenFilePutFilePutObjectFileWidth
FreeFileGetAttrInputInputString
KillLineInputLocLock
LOFMkDirPrintPrintLine
RenameResetRmDirSeek
SetAttrSPCTABUnlock
WriteWriteLine
DDBFVIPmtIRR
MIRRNPerNPVPmt
PPmtPVRateSLN
SYD
ScriptEngineScriptEngineBuildVersionScriptEngineMajorVersionScriptEngineMinorVersion
HideModuleNameAttribute
ErlErrIsArrayIsDate
IsDBNullIsErrorIsNothingIsNumeric
IsReferenceLBoundQBColorRGB
SystemTypeNameTypeNameUBoundVarType
VbTypeName
AppActivateBeepCallByNameChoose
CommandCreateObjectDeleteSettingEnviron
GetAllSettingsGetObjectGetSettingIIf
InputBoxMsgBoxPartitionSaveSetting
ShellSwitch
CreateMethodDefaultInstanceAliasDisposeMethodMyGroupName
AscAscChrChrW
FilterFormatFormatCurrencyFormatDateTime
FormatNumberFormatPercentGetCharInStr
InStrRevJoinLCaseLeft
LenLSetLTrimMid
ReplaceRightRSetRTrim
SpaceSplitStrCompStrConv
StrDupStrReverseTrimUCase
BoundsLength
Length
RandomizeRnd

The Microsoft.VisualBasic namespace provides constants and enumerations as part of the Visual Basic run-time library. You can use these constant values in your code. Each enumeration represents a particular category of functionality. For more information, see Constants and Enumerations.

Constants and Enumerations
Keywords

Show: