匿名类型必须用对象初始值设定项加以声明。
Anonymous types must be declared with an object initializer.
查询表达式经常使用匿名类型,而这些类型只能使用对象初始值设定项进行初始化。
Query expressions make frequent use of anonymous types, which can only be initialized with an object initializer.
编译器进程的第一个访问默认实例的构造函数,然后通过处理成员初始化对象初始值设定项。
The compiler processes object initializers by first accessing the default instance constructor, and then by processing the member initializations.
用于声明匿名类型实例的格式类似于在使用对象初始值设定项声明命名类型实例时使用的格式。
The format you use to declare an instance of an anonymous type resembles the format you use when you declare an instance of a named type by using an object initializer.
以声明方式初始化类型的对象,而无需显式调用该类型的构造函数,您可以使用对象初始值设定项。
You can use object initializers to initialize type objects in a declarative manner without explicitly invoking a constructor for the type.
对于要放置到设计图面的具有默认初始值设定项的对象而言,通过工厂显式创建项才是必要的。
Explicit item creation through the factory is important for objects to be placed on the design surface that have default initializers.
在标准c中,这种作法的效果是禁止将线程本地变量的地址用作对象或指针的初始值设定项。
In standard c, the effect of this is to forbid the use of the address of a thread local variable as an initializer for an object or pointer.
要使用动态字典,请创建会话对象并将其传递到二进制xml读取器或编写器的构造函数或初始值设定项。
To use them, you create a session object and pass it to the constructor or initializer for a binary XML reader or writer.
在派生类中重写时,返回与方法定义的输入数组对应的初始值设定项对象的数组。
When overridden in a derived class, returns an array of initializer objects corresponding to an input array of method definitions.
获取用于初始化新创建对象的集合成员的元素初始值设定项。
Gets the element initializers for initializing a collection member of a newly created object.
要使用动态字典,请创建会话对象并将其传递到二进制xml读取器或编写器的构造函数或初始值设定项。
To use them you create a session object and pass it to the constructor or initializer for a binary XML reader or writer.
要使用动态字典,请创建会话对象并将其传递到二进制xml读取器或编写器的构造函数或初始值设定项。
To use them you create a session object and pass it to the constructor or initializer for a binary XML reader or writer.
应用推荐