Declaring a new struct type is simple.
定义一个新的struct类型很简单。
Name this parameter start and set its direction as In ,and then from Browse type dialog, select Point struct as its type.
将该参数命名为start,并将其方向设置为In,然后在Browsetype对话框中,选择Point struct作为类型。
Is a class (or struct) that implements a more-derived interface also required to state in its base type list that it is implementing all of those less-derived interfaces?
一个实现了派生程度较高的接口的class或者struct必须要在其基类型列表中声明它实现了那些派生程度较低的接口吗?
The reference type had sequential or explicit layout, and so was exported as a struct.
引用类型具有连续布局或显式布局,因此导出为结构。
A constant, field, property, or type introduced in a class or struct hides all base class members with the same name.
类别或结构所引入的常数、栏位、属性或型别可隐藏所有具相同名称的基底类别成员。
The type and order of elements caused the compiler to add padding to the end of a struct.
元素的类型和顺序使编译器向结构的尾部添加填充。
If you must store your query results or pass them outside the method boundary, consider using an ordinary named struct or class instead of an anonymous type.
如果您必须在方法界限外储存或传递查询结果,请考虑使用一般的具名结构或类别,而不使用匿名型别。
A struct is a value type, while a class is a reference type.
结构是值类型,而类是引用类型。
When a struct contains a reference type as a member, the default constructor of the member must be invoked explicitly, otherwise the member remains unassigned and the struct cannot be used.
当结构包含引用类型作为成员时,必须显式调用该成员的默认构造函数,否则该成员将保持未赋值状态且该结构不可用。
When a struct contains a reference type as a member, the default constructor of the member must be invoked explicitly, otherwise the member remains unassigned and the struct cannot be used.
当结构包含引用类型作为成员时,必须显式调用该成员的默认构造函数,否则该成员将保持未赋值状态且该结构不可用。
应用推荐