Exemplos para "types without a default constructor"
Não foi possível encontrar esta entrada. Mostrando resultados aproximados. Verifique a ortografia ou proponha a adição deste termo ao dicionário.
'{0}' type cannot have Name attribute. Value types and types without a default constructor cannot be used as items within a dictionary.
"{0}"类型不能具有 Name 特性。值类型和没有默认构造函数的类型不能用作字典中的项。
Outros resultados
Using the GenerateScriptTypes attribute is not supported for types in the following categories: primitive types; DateTime; generic types taking more than one parameter; types implementing IEnumerable or IDictionary; interfaces; Abstract classes; classes without a public default constructor.
Unlike classes and like the standard primitives, such value types are passed and assigned by value rather than by reference. They can also be part of an object (either as a field or boxed), or stored in an array without the memory indirection that normally exists for class types. Because value types have no notion of a null value and can be used in arrays without initialization, they always come with an implicit default constructor that essentially fills the struct memory space with zeroes.
Construction of entity type instances must use object initializer with default constructor.
构造实体类型实例必须将对象初始值与默认构造函数配合使用。
Entity types must have a default constructor.
实体类型必须具有默认的构造函数。
Every non-static member of class type has a trivial default constructor
每个类类型的非静态成员都拥有平凡默认构造函数
Constructors that may be called without any argument are default constructors.
可以不带任何参数调用的构造函数是默认构造函数 。
If the braced-init-list is empty and T is a class type with a default constructor, value-initialization is performed.
若花括号初始化器列表为空,且 T 是拥有默认构造函数的类类型,则进行值初始化 。
const members cannot be default initialized unless their type has a user defined default constructor
常量成员不能被默认初始化,除非它们的类型具有用户定义的默认构造函数
Default constructors must be at least as critical as base type default constructors
默认构造函数必须至少与基类型默认构造函数一样关键
The User type must extend UserBase and provide a default constructor.
User 类型必须扩展 UserBase 并提供默认构造函数。
Because of this sort of problem, you cannot use return value types to distinguish overloaded methods. Feedback Default constructors
由于存在这一类的问题,所以不能根据返回值类型来区分过载的方法。
Could not create an object of the type {0}. Check whether the default constructor exists.
无法创建类型为 {0} 的对象。请检查是否存在默认的构造函数。
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.