Constants Class
Definition
The Constants
module contains miscellaneous constants. These constants can be used anywhere in your code.
public ref class Constants sealed
[Microsoft.VisualBasic.CompilerServices.StandardModule]
public sealed class Constants
type Constants = class
Public Module Constants
- Inheritance
-
Constants
- Attributes
Remarks
This module supports the Visual Basic language constants that correspond to the members of many Visual Basic enumerations:
Fields
vbAbort |
Indicates that the |
vbAbortRetryIgnore |
Indicates that the |
vbApplicationModal |
Indicates that the message box will be displayed as a modal dialog box when the |
vbArchive |
Indicates that the file has changed since the last backup operation for file-access functions. |
vbArray |
Indicates that the type of a variant object is an array. Returned by the |
vbBack |
Represents a backspace character for print and display functions. |
vbBinaryCompare |
Specifies that a binary comparison should be performed when comparison functions are called. |
vbBoolean |
Indicates that the type of a variant object is |
vbByte |
Indicates that the type of a variant object is |
vbCancel |
Indicates that the |
vbCr |
Represents a carriage-return character for print and display functions. |
vbCritical |
Indicates that the critical message icon will be displayed when the |
vbCrLf |
Represents a carriage-return character combined with a linefeed character for print and display functions. |
vbCurrency |
Indicates that the type of a variant object is |
vbDate |
Indicates that the type of a variant object is |
vbDecimal |
Indicates that the type of a variant object is |
vbDefaultButton1 |
Indicates that the leftmost button is selected as the default button when the message box appears. |
vbDefaultButton2 |
Indicates that the second button from the left is selected as the default button when the message box appears. |
vbDefaultButton3 |
Indicates that the third button from the left is selected as the default button when the message box appears. |
vbDirectory |
Indicates that the file is a directory or folder for file-access functions. |
vbDouble |
Indicates that the type of a variant object is |
vbEmpty |
Indicates that the type of a variant object is |
vbExclamation |
Indicates that the exclamation icon will be displayed when the |
vbFalse |
Indicates that a |
vbFirstFourDays |
Indicates that the first week of the year that has at least four days should be used when date-related functions are called. |
vbFirstFullWeek |
Indicates that the first full week of the year should be used when date-related functions are called. |
vbFirstJan1 |
Indicates that the week of the year in which January 1 occurs should be used when date-related functions are called. |
vbFormFeed |
Represents a form-feed character for print functions. |
vbFriday |
Specifies that Friday should be used as the first day of the week when date-related functions are called. |
vbGeneralDate |
Indicates that the general date format for the current culture should be used when the |
vbGet |
Specifies that a property value should be retrieved when the |
vbHidden |
Indicates that the file is a hidden file for file-access functions. |
vbHide |
Indicates that the window style is hidden for the invoked program when the |
vbHiragana |
Indicates Hiragana characters should be converted to Katakana characters when the |
vbIgnore |
Indicates that the |
vbInformation |
Indicates that the information icon will display when the |
vbInteger |
Indicates that the type of a variant object is |
vbKatakana |
Indicates that Katakana characters should be converted to Hiragana characters when the |
vbLet |
Indicates that a property value should be set to an object instance when the |
vbLf |
Represents a linefeed character for print and display functions. |
vbLinguisticCasing |
Indicates that characters should be converted to use linguistic rules for casing instead of file system rules for casing to when the |
vbLong |
Indicates the type of a variant object is |
vbLongDate |
Indicates that the long date format for the current culture should be used when the |
vbLongTime |
Indicates that the long time format for the current culture should be used when the |
vbLowerCase |
Indicates that characters should be converted to lowercase when the |
vbMaximizedFocus |
Indicates that the window style is maximized with focus for the invoked program when the |
vbMethod |
Specifies that a method should be called when the |
vbMinimizedFocus |
Indicates that the window style is minimized with focus for the invoked program when the |
vbMinimizedNoFocus |
Indicates that the window style is minimized without focus for the invoked program when the |
vbMonday |
Specifies that Monday should be used as the first day of the week when date-related functions are called. |
vbMsgBoxHelp |
Indicates that the |
vbMsgBoxRight |
Indicates that text will be right-aligned when the |
vbMsgBoxRtlReading |
Indicates that right-to-left reading text (Hebrew and Arabic systems) will be displayed when the |
vbMsgBoxSetForeground |
Indicates that the message box will display in the foreground when the |
vbNarrow |
Indicates that wide (double-byte) characters should be converted to narrow (single-byte) characters when the |
vbNewLine |
Represents a newline character for print and display functions. |
vbNo |
Indicates that the |
vbNormal |
Indicates that the file is a normal file for file-access functions. |
vbNormalFocus |
Indicates that the window style is normal with focus for the invoked program when the |
vbNormalNoFocus |
Indicates that the window style is normal without focus for the invoked program when the |
vbNull |
Indicates that the type of a variant object is |
vbNullChar |
Represents a null character for print and display functions. |
vbNullString |
Represents a zero-length string for print and display functions, and for calling external procedures. |
vbObject |
Indicates that the type of a variant object is |
vbObjectError |
Represents the object error number. User-defined error numbers should be greater than this value. |
vbOK |
Indicates that the |
vbOKCancel |
Indicates that the |
vbOKOnly |
Indicates that only the |
vbProperCase |
Indicates that the first letter of every word in a string should be converted to uppercase and the remaining characters to lowercase when the |
vbQuestion |
Indicates that the question icon will be displayed when the |
vbReadOnly |
Indicates that the file is a read-only file for file-access functions. |
vbRetry |
Indicates that the |
vbRetryCancel |
Indicates that the |
vbSaturday |
Specifies that Saturday should be used as the first day of the week when date-related functions are called. |
vbSet |
Indicates that a property value should be set when the |
vbShortDate |
Indicates that the short-date format for the current culture should be used when the |
vbShortTime |
Indicates that the short-time format for the current culture should be used when the |
vbSimplifiedChinese |
Indicates that characters should be converted to Simplified Chinese when the |
vbSingle |
Indicates that the type of a variant object is |
vbString |
Indicates that the type of a variant object is |
vbSunday |
Specifies that Sunday should be used as the first day of the week when date-related functions are called. |
vbSystem |
Indicates that the file is a system file for file-access functions. |
vbSystemModal |
Indicates that the message box will be displayed as a modal dialog box when the |
vbTab |
Represents a tab character for print and display functions. |
vbTextCompare |
Indicates that a text comparison should be performed when comparison functions are called. |
vbThursday |
Specifies that Thursday should be used as the first day of the week when date-related functions are called. |
vbTraditionalChinese |
Indicates that characters should be converted to Traditional Chinese when the |
vbTrue |
Indicates that a |
vbTuesday |
Specifies that Tuesday should be used as the first day of the week when date-related functions are called. |
vbUpperCase |
Indicates that characters should be converted to uppercase when the |
vbUseDefault |
Indicates that the default |
vbUserDefinedType |
Indicates that the type of a variant object is a user-defined type. Returned by the |
vbUseSystem |
Indicates that the week specified by your system as the first week of the year should be used when date-related functions are called. |
vbUseSystemDayOfWeek |
Indicates that the day specified by your system as the first day of the week should be used when date-related functions are called. |
vbVariant |
Indicates that the type of a variant object is |
vbVerticalTab |
Represents a carriage-return character for print functions. |
vbVolume |
Indicates the volume label file attribute for file-access functions. |
vbWednesday |
Specifies that Wednesday should be used as the first day of the week when date-related functions are called. |
vbWide |
Indicates that narrow (single-byte) characters should be converted to wide (double-byte) characters when the |
vbYes |
Indicates that the |
vbYesNo |
Indicates that the |
vbYesNoCancel |
Indicates that the |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |