Is string a value type or a reference type?
string是值类型还是引用类型?
The data type can be a DB2 built-in data type, a distinct type or a reference type.
数据类型可以是DB2内置数据类型、独特的类型或引用类型。
The object of a value type is in the stack, but the object of a reference type is in the heap.
数值类型的对象位于栈中,但是引用类型的对象位于堆中。
That means a reference type can have a null pointer, but a value type cannot have a null value.
这意味着引用类型可能有空指针,但是数值类型不能有空值。
The destination USES a new reference type introduced in J2EE 1.4 called the message destination reference (Figure 7).
目的引用使用J2EE 1.4中引入的称为消息目的引用的新引用类型(图7)。
Every object is a reference type.
每个对象都是引用类型。
Boxing converts a value type to a reference type.
装箱将一个值类型转换为引用类型。
As a reference type, two objects are created on the heap.
作为引用类型,两个对象在堆上被创建。
Synthesizes a function reference type from given properties.
根据给定的属性合成一个函数引用。
A struct is a value type, while a class is a reference type.
结构是值类型,而类是引用类型。
But the reference type just clone the same object's reference.
但引用类型仅仅克隆了这同一个对象的引用。
Reference types - same as pointer types, except that a reference type cannot be NULL.
引用类型—与指针类型相同,只是引用类型不能为NULL。
The reference type had sequential or explicit layout, and so was exported as a struct.
引用类型具有连续布局或显式布局,因此导出为结构。
A value type or reference type refers to how a programming element is stored in memory.
而值类型或引用类型是指编程元素将以何种方式存储在内存中。
With the exception of a boxed value type, you cannot convert a reference type to a value type.
除了装箱值类型外,无法将引用类型转换为值类型。
In an unsafe context, a type may be a pointer type as well as a value type or a reference type.
在不安全的上下文中,类型可以是指针类型以及值类型或引用类型。
An array is a reference type in managed code that contains one or more elements of the same type.
在托管代码中,数组是包含一个或多个相同类型元素的引用类型。
You declare and use an array of a reference type just as you would declare and use an array of any data type.
声明和使用引用类型的数组与声明和使用任何数据类型的数组并无不同。
A delegate declaration defines a reference type that can be used to encapsulate a method with a specific signature.
委托是一个定义签名的类型,即方法的返回值类型和参数列表类型。
If the value's type is a reference type, this method returns the size of the pointer rather than the size of the object.
如果该值的类型为引用类型,则此方法将返回指针的大小而非该对象的大小。
This can lead to a problem if the XSD type is mapped to a value type in one language but mapped to a reference type in another.
如果xsd类型在一种语言中被映射成了数值类型,而在另一种语言中被映射成了引用类型,那么这可能导致问题的出现。
A procedure is declared with an optional parameter that USES a type parameter that is not constrained to be a reference type.
通过某个可选参数声明了过程,该参数使用未约束为引用类型的类型参数。
When an application creates the first reference type, memory is allocated for the type at the base address of the managed heap.
应用程序创建第一个引用类型时,将为托管堆的基址中的类型分配内存。
This differs from the assignment of reference type variables, which copies a reference to the object but not the object itself.
这与引用类型变量的赋值不同,引用类型变量的赋值只复制对对象的引用,而不复制对象本身。
How the MSIL for a generic type is used differs based on whether the supplied type parameter is a value type or reference type.
泛型类型的MSIL的使用因所提供的类型参数是值类型还是引用类型而不同。
Finally, the string type is a reference type, so every string instance refers to an additional block of memory to hold the actual string data.
最后,字符串类型是引用类型,因此每个字符串实例都引用一个附加的内存块,以存放实际的字符串数据。
It might be worth considering an enumeration here since it would remove the need for a reference type and store the value directly in the class.
这里,使用枚举可能值得考虑,因为它可以消除对引用类型的需要,并且将值直接存储到类中。
Or a reference type variable might not hold a reference to any object, in which case it is said to be a null reference or a reference to Nothing.
或者,引用类型变量可能不存放对任何对象的引用,这种情况称为空引用。
Type names may include trailing characters that denote additional information about the type, such as whether the type is a reference type, a pointer type or an array type.
类型名可能包含尾部字符,尾部字符表示有关该类型的附加信息,如类型是引用类型、指针类型还是数组类型。
Type names may include trailing characters that denote additional information about the type, such as whether the type is a reference type, a pointer type or an array type.
类型名可能包含尾部字符,尾部字符表示有关该类型的附加信息,如类型是引用类型、指针类型还是数组类型。
应用推荐