Ghi
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử thay đổi thư mục.
Enumerations provide a convenient way to work with sets of related constants and to associate constant values with names. For example, you can declare an enumeration for a set of integer constants associated with the days of the week, and then use the names of the days rather than their integer values in your code.
You can avoid using fully qualified names with the Imports statement. For more information, see Enumerations and Name Qualification.
To refer to an enumeration member
Qualify the member name with the enumeration. For example, the following example assigns the
Saturdaymember of theFirstDayOfWeekenumeration to the variableDayValue.DayValue = FirstDayOfWeek.Saturday