How can I assign an enumerated type value to a variable?
我怎么可以指定枚举类型的值给一个变量?
Type (represented as a string property) - Holds the type value for a machine.
type(表示为string属性)——保存机器的类型值。
For example, when the automaint_set_policyfile procedure is called with an invalid policy type value, it gives the following error.
例如,若使用无效的策略类型值调用automaint_set _ policyfile过程,会给出下列错误。
To do that, we will invoke the observer method (using the double-dot operator) for the city attribute of the structured type value in the ADDRESS column (Listing 2).
为了实现这个目标,我们将调用observer方法(使用双点运算符)获取address列中的结构化类型值的城市属性。(清单2)。
The type value provides the assembly and class name of the HTTP module, whereas the name value provides a friendly name by which the HTTP module can be referred to in the Global.asax file.
type值提供了HTTP模块的程序集和类名称,而name值提供了友好名称,可以在Global . asax文件中使用此友好名称来引用HTTP模块。
Incorrect message type value received!
接收到不正确的消息类型值!
A logon request contained an invalid logon type value.
登录请求包含无效的登录类型值。
This attribute modifies the volume for Music files only. Values range between 0 and 1 as a real type value.
这项属性可以修改音乐播放声音的大小,数值在0和1之间变化。
Incorrect message type value received! Message Queue Task only accepts global variable message, string message and data file message.
接收到不正确的消息类型值!消息队列任务只接受全局变量消息、字符串消息和数据文件消息。
Of the commands that do use a command parameter, most of these take a parameter with some primitive type value, such as an integer or a string.
在使用命令参数的命令中,大多数命令的参数都具有某些基元类型值,如整数或字符串。
We can see that our Breed enumerated type contains several variables of type Value, as in the following example.
你可以看到我们的Breed枚举类型包含了几种Value 类型的值,像下面的例子所展示的。
You'll see a table of {Target, Type, Value} triples that determine what elements in the message get set and to what value.
您将看到一个三元素表 {Target,Type,Value},该表确定了消息中设置了哪些元素以及这些元素的值。
Duty rates depend on the type, value, and quantity of the articles.
税额取决于物品的种类、价值和数量。
The definition involves element data type, value confine, measurement unit, concept term, arbor code, score, role prosperity and trigger of child node in the arbor tree.
定义的内容包括元素的数据类型,取值范围,计量单位,概念术语,树状编码,分值,角色属性,以及树结构的子节点触发器。
The definition involves element data type, value confine, measurement unit, concept term, arbor code, score, role prosperity and trigger of child node in the arbor tree.
定义的内容包括元素的数据类型,取值范围,计量单位,概念术语,树状编码,分值,角色属性,以及树结构的子节点触发器。
应用推荐