And any enumeration type based on a CLS-compliant base integer type.
以及任何基于符合CLS的基础整数类型的枚举类型。
A metatype type refers to the type of any type, including class types, structure types, enumeration types, and protocol types.
一个元类型是对任一类型(包括类类型,结构类型,枚举类型以及协议类型)的类型的引用。
No translation unit shall contain more than one definition of any variable, function, class type, enumeration type or template.
翻译单元中只能有任何变量,函数,类类型,枚举类型或模板的唯一定义。
My first step is to create a new type that defines all the moods to track. This is easily done using a Java 5 enumeration type, as shown in Listing 3.
我的第一步是创建一个新类型,用于定义要跟踪的所有情绪。
An enumeration type (also named an enumeration or an enum) provides an efficient way to define a set of named integral constants that may be assigned to a variable.
枚举类型(也称为枚举)为定义一组可以赋给变量的命名整数常量提供了一种有效的方法。
To increase type safety, this could also be an enumeration.
为了提高类型安全性,这也可以是一个枚举。
Then, Listing 6 USES the new enumeration as the type for the member variable.
然后,清单6使用新定义的枚举作为一个成员变量的类型。
OWL lets you specify the type of these properties, so hostname would be string, whilst operating system might be an enumeration with specific options specified.
用owl可以指定这些属性的类型,比如主机名是字符串类型,而操作系统则有可能是一个特定选项已经指定的枚举类型。
This enumeration contains the enumeration literals that define the definition language type for the naming authority.
这个枚举包含了那些定义了命名权限的定义语言类型的枚举文字。
The preference for the first day of the week also USES the same type of enumeration.
用于每周的第一天的首选项也使用相同类型的枚举。
The Book class has an attribute whose type is that of an enumeration.
“图书”这个类拥有一项枚举类型的属性。
Enumeration is a special type of the simple type.
枚举是简单类型的特殊类型。
It is needed when there should be a specific list of constant values to be used for the simple type defined by the enumeration.
当枚举定义的简单类型使用常数的特殊列表时,就会需要这种类型了。
The values for attributes whose type is an enumeration would be enumeration literals owned by that enumeration.
枚举类型的属性集的值,可以被枚举列出。
Enumeration return type for finders.
finder 的枚举返回类型。
By creating a new enumeration (grade) of the previously defined type, you can then use it like any other member variable.
用以前定义过的类型建立一个新的枚举(grade)之后,您就可以像使用其他成员变量一样使用它了。
Next, create a new enumeration that represents the ElectronicMedia type, which you will name EMediaType
接下来,创建一个代表 ElectronicMedia类型的新枚举,您将为它命名为 EMediaType
This class must have a single public property called Value of the same data type as the Const variables you created for this enumeration in step 2.
此类必须具有一个称为Value的公共属性,与第2步中为此枚举创建的Const变量具有相同的数据类型。
Represented by the DataControlRowType enumeration, the type of the row indicates the position and the role (for example, footer, header, pager, and data row).
行类型由datacontrolrowtype枚举表示,用来指示位置和角色(例如,页脚、页眉、页导航和数据行)。
Now create one more attribute, authority, and set its type to the RegistrationAuthority enumeration.
现在再创建一个属性authority,并将其类型设置为RegistrationAuthority枚举。
An enumerated type is one that has valid values limited to a set of constants. For instance, an enumeration may be defined for the colors of a stop light as follows.
枚举类型是一种有效取值仅限于一组常量的类型。
Create a global list with a data type equal to the enumeration name and with a name of Enum_ followed by the enumeration name (in our case, Enum_BookType).
创建一个全局列表,使其数据类型等同于枚举名称,且名称以enum _开头,后接枚举名称(在本例中为Enum_BookType)。
For example, setting the attribute to be of type Enumeration will result in different buttons than setting the attribute to be of a primitive type.
例如,将这个属性类型设置为enumeration,与将这个属性设置为先前的类型相比会产生不同的按钮。
To make this code-writing process easier, try the Domino enumeration code Generator page, which allows you to enter an enumeration name, a data type, and all the values you want to use.
要简化这一代码编写过程,请尝试DominoEnumerationCodeGenerator页面,它允许您输入枚举名称、数据类型和希望使用的所有值。
It might be worth considering an enumeration here since it would remove the need for a reference type and store the value directly in the class.
这里,使用枚举可能值得考虑,因为它可以消除对引用类型的需要,并且将值直接存储到类中。
This stereotype also allows you to specify an enumeration base type that is different from the implicit default.
该原型还允许您指定不同于隐含默认值的枚举基本类型。
The values in an enumeration set are typically used to provide input to a method although there are situations where they are useful to determine an output type.
枚举集中的值通常用于提供方法输入,但是有些情况下,它们还可用于判断输出的类型。
Type forwarding means reassigning the definition of a class, structure, interface, delegate, or enumeration to an assembly other than the one in which it was originally defined.
“类型转发”是指将类、结构、接口、委托或枚举的定义重新分配到从中进行初始定义的程序集以外的一个程序集。
Enumeration to specify a key type for an.
对象指定密钥类型。
Enumeration to specify a key type for an.
对象指定密钥类型。
应用推荐