Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
Qualify the member name with the enumeration. For example, the following example assigns the Saturday
member of the FirstDayOfWeek
enumeration to the variable DayValue
.
DayValue = FirstDayOfWeek.Saturday
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Enumerate objects in the pipeline - Training
This module explains how to enumerate objects in the pipeline so that you can work with one object at a time during automation.