default constructor 中文意思是什麼
default constructor
解釋
建構子- default : n 1 不履行;違約;拖欠。2 【法律】不履行債務;缺席。3 欠缺,缺乏。vi vt 1 拖欠(欠款等),不履行...
- constructor : n. 1. 建造者,建設者。2. 【海軍】造船技師。
-
These classes provide a default constructor and an
這些類都提供默認的構造函數和 -
Base keyword, then the default constructor, if there is one, is called implicitly
關鍵字來顯式調用基類構造函數,則將隱式調用默認構造函數(如果有的話) 。 -
This is a default empty collection constructor
它是默認的空集合構造函數。 -
Rather than simply assign default values to these properties in the constructor, developers can completely control a property, for example by preventing users or developers who use the control from ever being able to close the control
開發人員並不僅僅在構造函數中將默認值分配給這些屬性,而是可以完全控制屬性,例如通過禁止使用該控制項的用戶或開發人員關閉它。 -
Such methods should use the default constructor,
這類方法應使用默認構造函數 -
The values set by the default constructor of the
類的默認構造函數設置的值。 -
This is the default constructor for this class
這是此類的默認構造函數。 -
This method calls the default constructor for the class
此方法調用該類的默認構造函數。 -
The default constructor automatically makes a call to
,所以預設構造函數會自動調用 -
If a class does not have a default constructor, one is automatically generated and default values are used to initialize the object fields, for example, an
如果類沒有默認構造函數,將自動生成一個構造函數,並且將用默認值來初始化對象欄位,例如, -
You can also constrain type parameters to types that have a particular base class, that have a default constructor, or that are reference types or value types
還可以將類型參數限制為具有特定基類的類型、具有默認構造函數的類型或是引用類型或值類型。 -
A default constructor is always provided to initialize the struct members to their default values
總是提供默認構造函數以將結構成員初始化為它們的默認值。 -
Operator calls the default constructor of the specific type and assigns the default value to the variable
運算符時,將調用特定類型的默認構造函數並對變量賦以默認值。 -
The default constructor invoked the no - arg constructor of the superclass
默認構造函數調用父類的無參數構造函數 -
For example, this code uses the default constructor for
例如,下面的代碼使用 -
The default constructor enables event tracking
默認的構造函數啟用事件跟蹤。 -
Do not provide a default constructor for a structure
不要為結構提供默認的構造函數。 -
If the default constructor is used, the channel functions only as a client channel, and does not listen on any ports
如果使用默認構造函數,則通道僅用作客戶端通道,不在任何埠上偵聽。 -
In addition to interface and base class constraints, some special constraints are defined such as the parameterless constructor constraint, which requires that type arguments have a default constructor a public parameterless constructor
除了介面和基類約束外,還定義了一些特殊的約束,例如無參數構造函數約束,它要求類型變量具有一個默認的構造函數(公共無參數構造函數) 。 -
Creates an instance of the specified type using that type s default constructor
使用與指定參數匹配程度最高的構造函數創建指定類型的實例。
分享友人