initializer
美 [?'n???la?z?]
英 [?'n???la?z?] 
英漢解釋
例句
As with a normal aggregate initializer, missing values are treated as though they'd been given 0 as an initializer.
使用普通的聚合初始化程序時,缺少的值會被認為它們已經被初始化程序指定為0來處理。
As you saw earlier, the code for a static field initializer executes inside an implicit type constructor.
正如您在前面看到的那樣,靜態(tài)字段初始值設定項的代碼在隱式類型構造函數的內部執(zhí)行。
The designated initializer syntax allows you to initialize members by name, without regard to the order in which they appear in an object.
指定的初始化程序語法允許您通過名字初始化成員,不用理會它們在對象中出現的順序。
This error is also produced when you try to use the short form of an array initializer nested inside a collection initializer .
如果嘗試使用嵌套在集合初始值設定項中的數組初始值設定項的縮寫形式,也會生成此錯誤。
Metadata about operations, references, and basic attributes are initialized in a static block initializer, as shown in Listing 3.
有關操作、引用以及基本屬性的元數據在一個靜態(tài)初始程序塊中被初始化,如清單3所示。
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.
在標準C中,這種作法的效果是禁止將線程本地變量的地址用作對象或指針的初始值設定項。
Whenever a particular type is required, the initializer for that type is transparently lifted into the type itself.
每當需要一個特殊類型時,該類型的初始化器就很明顯地被提升成類型本身。
If you declare more than one variable with the same As clause, you cannot supply an initializer for that group of variables.
如果使用同一個As子句聲明多個變量,則不能為該組變量提供一個initializer。
Implicitly typed arrays, a form of array creation and initialization that infers the element type of the array from an array initializer.
隱型數組,數組創(chuàng)建和初始化的形式,它從數組初始化器推導出數組的元素類型。
Instead of a constructor, the body of the class contains the class initializer.
方法來表示。類的主體包含類初始設定項,而不是構造函數。
A member initializer that specifies a collection initializer after the equals sign is an initialization of an embedded collection.
成員構造者特指等號后面的集合構造者是,內嵌集合的初始化。
In addition, both fields and settable properties can be assigned within the body of the object initializer.
此外,字段和可設置的屬性均可在對象初始值的主體內部進行賦值。
A declaration may have an initializer only if it is also a definition because only a definition allocates storage.
只有當聲明也是定義時,聲明才可以有初始化式,因為只有定義才分配存儲空間。
To use them, you create a session object and pass it to the constructor or initializer for a binary XML reader or writer.
要使用動態(tài)字典,請創(chuàng)建會話對象并將其傳遞到二進制XML讀取器或編寫器的構造函數或初始值設定項。
A member initializer that specifies an object initializer after the equals sign is an initialization of an embedded object.
在等號后指定一個對象初始化器的成員初始化器是對內嵌對象的初始化。
Term used to describe the rules for initializing variables and array elements when no explicit initializer is given.
描述當沒有給出顯式初始化式時初始化變量或數組元素的規(guī)則的術語。
When overridden in a derived class, returns an array of initializer objects corresponding to an input array of method definitions.
在派生類中重寫時,返回與方法定義的輸入數組對應的初始值設定項對象的數組。
This error indicates that you tried to modify an initializer in a generic type.
此錯誤指示您嘗試在泛型類型中修改初始值設定項。
Anonymous types must be declared with an object initializer.
匿名類型必須用對象初始值設定項加以聲明。
Class has an initializer and keeps track of the parameter passed in to determine whether to apply XSLT to XML results.
類有一個初始化器,并記錄傳遞的參數,決定是否對XML結果應用XSLT。
As with instance initialization, you can use the initializer syntax as an alternative to the static constructor.
和實例初始化一樣,可以使用初始化器語法作為靜態(tài)構造函數的變體。
In the case of PHP, the arguments to this object initializer are path, host and port.
就PHP來說,這個對象初始化器的參數是path、host和port。
The metaclass will create the class (as a new style one) and will pass it to the class initializer procedure.
元類將創(chuàng)建此類(作為一個新式類)并將其傳遞給類初始化器過程。
If you do not specify datatype, the variable takes the data type of initializer.
如果沒有指定datatype,則變量采用initializer的數據類型。
When you create an anonymous type that contains an array, the array must be implicitly typed in the type's object initializer.
建立包含陣列的匿名型別時,在型別的物件初始設定式中陣列必須是隱含型別。
An object initializer consists of a sequence of member initializers, enclosed by { and } tokens and separated by commas.
對象初始化器由一系列成員初始化器組成,封閉于{和}標記內并且由逗號間隔。
The static initializer in Listing 2 shows the registration process for a Customer class that contains two properties: name and salary.
清單2中的靜態(tài)初始化器顯示了Customer類的注冊過程,這個類包含兩個屬性:name和salary。
With two exceptions, using an initializer is equivalent to assigning to a non class data member both in result and in performance.
除了兩個例外,對非類類型的數據成員進行賦值或使用初始化式在結果和性能上都是等價的。
An interface may not contain field declarations, initializer declarations, or nested class declarations.
interface不能包含字段聲明、初始值設定項聲明或嵌套類聲明。
The static keyword can also be used to create a static initializer block that runs only once, when the object is first loaded into memory.
關鍵字還可用來創(chuàng)建一個靜態(tài)初始值設定項塊,此塊只在相應的對象被首次加載到內存中時運行一次。
Cannot initialize object of type 'type' with a collection initializer.
無法使用集合初始值設定項來初始化類型為“type”的對象。
Given this kind of semantics, using initializer lists should be preferred whenever possible.
由于采用這種語義,應該盡可能使用初始化器列表。
A collection initializer specifies the elements of a collection.
集合初始化器指定集合的元素。
To instantiate the object within the shared memory, define an additional class, Initializer.
要對共享內存中的對象進行實例化,請定義另外一個類Initializer。
An array initializer or a constraint list has not been ended in a valid fashion.
數組初始值設定項或約束列表的結束方式無效。
Initializer defines shared memory id m_shmid and a semaphore ms_mutex for synchronous event handling.
Initializer定義了共享內存的idm_shmid和一個用來處理同步事件的信號量ms_mutex。
Such initialization is tedious and error-prone because it is easy to forget an initializer or to supply an inappropriate initializer.
這樣的初始化是乏味且易于出錯的,因為容易遺忘初始化式或提供不適當的初始化式。
The compiler uses a variable's initializer to determine the variable's type at compile time to produce early-bound code.
編譯器使用變數的初始設定式,在編譯時期判斷變數的型別以產生早期系結程式碼。
A class may contain several static initializer blocks interspersed with static field declarations.
一個class可以包含多個與static字段聲明交錯的static初始值設定項塊。
When it discovers a loop, it displays three expressions: the initializer, condition, and iteration.
當它發(fā)現一個循環(huán)時,會顯示三種表達式:初始程序、條件及迭代。