Enumerations Declared by Visual Basic
Enumerations provide a convenient way to work with sets of related constants and to associate constant values with names. Visual Basic provides a number of useful enumerations.
Predefined Enumerations
The following table lists and describes the enumerations provided by Visual Basic.
Enumeration |
Description |
---|---|
Indicates the window style to use for the invoked program when calling the Shell function. |
|
Indicates how to play sounds when calling audio methods. |
|
Indicates the type of role to check when calling the My.User.IsInRole Method. |
|
Indicates the type of the type of procedure being invoked when calling the CallByName function. |
|
Indicates how to compare strings when calling comparison functions. |
|
Indicates how to display dates when calling the FormatDateTime function. |
|
Indicates how to determine and format date intervals when calling date-related functions. |
|
Specifies what should be done when a directory that is to be deleted contains files or directories. |
|
Indicates when payments are due when calling financial methods. |
|
Indicates whether text fields are delimited or fixed-width. |
|
Indicates the file attributes to use when calling file-access functions. |
|
Indicates the first day of the week to use when calling date-related functions. |
|
Indicates the first week of the year to use when calling date-related functions. |
|
Indicates which button was pressed on a message box, returned by the MsgBox function. |
|
Indicates which buttons to display when calling the MsgBox function. |
|
Indicates type of access when calling file-access functions. |
|
Indicates mode that should be used when calling file-access functions. |
|
Indicates whether a file can be used by other processes when calling file-access functions. |
|
Specifies whether a file should be deleted permanently or placed in the Recycle Bin. |
|
Specifies whether to search all or only top level directories. |
|
Indicates either a Boolean value or that the default should be used when calling number-formatting functions. |
|
Specifies what should be done if the user clicks Cancel during an operation. |
|
Specifies whether or not to show a progress dialog box when copying, deleting, or moving files or directories. |
|
Indicates the type of a variant object, returned by the VarType function. |
|
Indicates which type of conversion to perform when calling the StrConv function. |
|
Indicates when payments are due when calling financial methods. |
See Also
Tasks
How to: Refer to an Enumeration Member
How to: Iterate Through An Enumeration in Visual Basic
How to: Determine the String Associated with an Enumeration Value