单词 | anonymous type |
释义 | 例句释义: 匿名类型,匿名型别,之匿名类型,匿名类别 1. The name of an anonymous type is automatically generated by the compiler and cannot be referenced in program text. 匿名类型的名字是由编译器自动产生的,在程序正文中不可被引用。 blog.csdn.net 2. An anonymous type, which consists of a set of public properties encapsulated in a nameless reference type. 匿名类型,它由一组封装在无名称引用类型中的公共属性组成。 msdn2.microsoft.com 3. An anonymous type cannot be cast to any interface or type except for object. 匿名型别不可转换成物件以外的任何介面或型别。 technet.microsoft.com 4. Compared three types of procedures, anonymous type can reduce the halo effect and is a more scientific evaluation type. 三种程序相比,匿名式最能降低晕轮效应,是一种较为科学的评价方式。 www.fabiao.net 5. An anonymous type is constructed by the compiler and the type name is only available to the compiler. 匿名型别是由编译器所建构,只有编译器才知道型别名称。 technet.microsoft.com 6. Your code should not use or rely on the name of an anonymous type because the name might change when a project is recompiled. 代码不应使用或依赖匿名类型的名称,因为重新编译项目时该名称可能更改。 technet.microsoft.com 7. You create a composite key as an anonymous type or named typed with the values that you want to compare. 您会将复合索引键建立成匿名型别,或是包含要比较之值的具名型别。 technet.microsoft.com 8. Gets or sets a value that determines whether the resulting schema type is an XSD anonymous type. 获取或设置一个值,该值确定结果构架类型是否为XSD匿名类型。 msdn2.microsoft.com 9. When you create an anonymous type that contains an array, the array must be implicitly typed in the type's object initializer. 建立包含阵列的匿名型别时,在型别的物件初始设定式中阵列必须是隐含型别。 technet.microsoft.com 10. In the example in Listing 8, we have defined what is called an anonymous type, where no explicit name is given to the complex type. 在清单8的例子中,我们定义了一个匿名类型,没有明确地命名这个复杂类型。 www.ibm.com 1. This query could have been written without projecting to the first anonymous type. 此查询在编写时本来可以不投影到第一个匿名类型。 technet.microsoft.com 2. The names of the fields can be explicitly declared in the anonymous type creation. 创建匿名类型时,可显式声明字段的名称。 msdn.microsoft.com 3. One of the keys for getting data easily to a view is that we need to send ONE object (and not an anonymous type) to the view. 若要轻易地获取数据并将其传给视图,则其中一个关键是我们需要传递“一个”对象(而且不是匿名类型)到视图。 www.infoq.com 4. A more efficient approach in this case is to project to an anonymous type. 在这种情况下,一种更有效的方法是投影到匿名类型。 technet.microsoft.com 5. The second Select clause identifies the values returned by the query as a new anonymous type. 第二个Select子句将查询返回的值标识为新的匿名类型。 msdn2.microsoft.com 6. The most common scenario is to initialize an anonymous type with some properties from another type. 最常见的案例是使用其他型别的属性初始化匿名型别。 technet.microsoft.com 7. Provides an example of how to return the results of a LINQ query as a specific type instead of as an anonymous type. 提供有关如何将LINQ查询的结果作为特定类型而非匿名类型返回的示例。 technet.microsoft.com 8. The getQNameScope method returns the binder qnameScope property to indicate whether the schema type is a named type or an anonymous type. getQNameScope方法返回绑定的qnameScope属性,来说明脚本类型是命名类型还是匿名类型。 www.ibm.com 9. In cases where a named type and an anonymous type use the same QName, they are differentiated by the qnameScope property. 如果命名元素和匿名元素使用同样的QName,他们通过qnameScope属性来区分。 www.ibm.com 10. However, this defeats the strong typing of the anonymous type. 但是,这无法用于强型别的匿名型别。 technet.microsoft.com 1. To pass an anonymous type, or a collection that contains anonymous types, outside a method boundary, you must first cast the type to object. 若要在方法界限外传递匿名型别或包含匿名型别的集合,您必须先将型别转型为物件。 technet.microsoft.com 2. GetHashCode for an anonymous type is based on the key properties of the type. 将不同属性指定为键属性的匿名类型实例不是同一类型的实例。 technet.microsoft.com 3. Convert Anonymous Type to Nested Type. 匿名类常用作事件监听器。 book.csdn.net 4. We followed these steps to transform listing 1's anonymous type into listing 2's named type. 按照以下步骤,将清单1中的匿名类型转换为清单2中的命名类型。 www.ibm.com 5. For example, the XHTML p element declaration has an anonymous type declaration that can't be redefined. 比如,XHTMLp元素声明有一个不能重定义的匿名类型声明。 www.ibm.com 6. Declares an anonymous type of the form 它声明了一个如下形式的匿名类型 blog.csdn.net |
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。