Do use enumerations if a member would otherwise have two or more Boolean parameters.
如果成员本来有两个或多个布尔参数,则要使用枚举。
In a Web service, we use enumerations. On the WSDL document, an enumeration looks something like.
在Web服务中,我们使用枚举。
When I found this way to use enumerations to access HASH strings I knew it was the right approach.
当我发现这种方式来使用枚举来访问我知道这是正确的做法哈希字符串。
I have found a helpful way to use enumerations that can be referenced in the IDE, while coding logic.
我发现了一个有用的方法,使用可以在IDE中引用的枚举,而编码逻辑。
Also, MSSOAP 1.x generally cannot understand Web services that use enumerations (which is something we discuss in the next article in this series).
一般情况下,MSSOAP 1. x也无法理解使用了枚举的Web服务(将在本系列的下一篇文章中进行讨论)。
While enumerations are stored as integers by default, you can specify the integral base type to use.
尽管默认情况下枚举被存储为整数,但您可以指定要使用的整型基类型。
You could nest an enumerations data set everywhere you use that enumeration value, but that would create an excessive number of tables on the report and increase its loading time.
您可以将一个枚举数据集固定到使用枚举值的任何地方,但是这将会创建报告上的表格的更多数量,并增加它的上传时间。
Implementers can use the examples in this article to help design and extend enumerations.
实现人员可以使用本文的示例来设计和扩展枚举列表。
If you want to use the same semantic element to contain both base enumerations and extended enumerations, consider solution 3 (union with a pattern).
如果想使用相同的语义元素来包含基本枚举列表和扩展枚举列表,可以考虑解决方案3(与模式联合)。
These complex types can be enumerations, structures, and unions, or you can use typedef to create a new name for a type.
这些复杂的类型可以是枚举、结构和联合,或者您可以使用typedef来创建类型的新名称。
How to use regular expressions (string patterns), enumerations, unions, lists, and substitution groups?
如何使用正则表达式(字符串范式)、枚举、联合、列表以及置换组?
You'll use a schema that defines enumerations for gender, marital status, and favorite color. Here's a sample instance document.
可以使用模式来定义针对性别、婚姻状况和最喜欢颜色的枚举。
Enumerations are treated as data types, and you can use them to create sets of constants for use with variables and properties.
列举型别可视为是资料型别,您可以用来建立多组常数以便与变数和属性搭配使用。
The following example shows two enumerations that do not use the recommended underlying data type.
下列范例会显示没有使用建议之基础资料型别的两个列举型别。
The following example shows two enumerations that do not use the recommended underlying data type.
下列范例会显示没有使用建议之基础资料型别的两个列举型别。
应用推荐