structs
美
英 
- 網(wǎng)絡(luò)組件;標(biāo)簽;中基本配置
例句
By default, top-level classes, interfaces, or structs that have no explicit access qualifier are treated as internal.
默認(rèn)情況下,沒(méi)有顯式訪問(wèn)限定符的頂級(jí)類(lèi)、接口或結(jié)構(gòu)被視為內(nèi)部類(lèi)、接口或結(jié)構(gòu)。
Unsafe buffers can only be instance fields of structs in an unsafe context.
不安全緩沖區(qū)只能是不安全上下文中的結(jié)構(gòu)的實(shí)例字段。
Suppose you want to tag classes and structs with the name of the programmer who wrote the class or struct.
假設(shè)您要用編寫(xiě)類(lèi)或結(jié)構(gòu)的程序員的名字標(biāo)記類(lèi)和結(jié)構(gòu)。
Structs in C are not quite "first class types, but with the help of compound literals, they are at least a lot easier to use. "
語(yǔ)言中的結(jié)構(gòu)不是“頭等類(lèi)型”,但在復(fù)合字面量的幫助下,它們至少更容易使用。
The rules that control method overloading are the same for methods within generic classes , generic structs or generic interfaces .
對(duì)于泛型類(lèi)、泛型結(jié)構(gòu)或泛型接口中的方法,控制方法重載的規(guī)則相同。
Structs do not support inheritance but they do support interfaces.
結(jié)構(gòu)不支持繼承,但支持接口。
Discusses the various collection types available in the. NET Framework, including stacks, queues, lists, arrays, and structs.
討論在.NETFramework中提供的各種集合類(lèi)型,包括堆棧、隊(duì)列、列表、數(shù)組和結(jié)構(gòu)。
For our purposes, the domain model is a set of C# types (classes, structs, and so on), collectively known as the domain types.
為此目標(biāo),域模型是一組C#類(lèi)型(類(lèi)、布局等等),統(tǒng)稱為域類(lèi)型。
Classes and structs that are not nested within other classes or structs can be either public or internal.
沒(méi)有嵌套在其他類(lèi)或結(jié)構(gòu)中的類(lèi)和結(jié)構(gòu)可以是公共的,也可以是內(nèi)部的。
You can use Rational modeling extension to model various types, including classes, structs, delegates, and enumerations, among others.
您可以使用Rational建模擴(kuò)展對(duì)各種類(lèi)型建模,其中包括類(lèi)、結(jié)構(gòu)、委托,和枚舉。
Defines partial classes, structs, and interfaces throughout the same compilation unit.
在整個(gè)同一編譯單元內(nèi)定義分部類(lèi)、結(jié)構(gòu)和接口。
When defining structs, you want to make sure that you are creating types that are readable.
定義struct時(shí),要確保所創(chuàng)建的類(lèi)型是可讀的。
They can be public or internal, like the classes and structs themselves.
與類(lèi)和結(jié)構(gòu)自身一樣,它們也可以是公共的或內(nèi)部的。
In C#, you (as a developer) can define generics for classes, interfaces, structs, delegates, and methods.
在C#中,您(作為一名開(kāi)發(fā)員)可以定義類(lèi)型、內(nèi)表、結(jié)構(gòu)、代表及方法的通用類(lèi)型。
The volatile bean pattern is applicable in frameworks that use JavaBeans as "glorified structs. "
volatilebean模式適用于將JavaBeans作為“榮譽(yù)結(jié)構(gòu)”使用的框架。
Defines partial classes and structs throughout the same assembly.
在整個(gè)同一程序集中定義分部類(lèi)和結(jié)構(gòu)。
For structs, it will return each member of the struct initialized to zero or null depending on whether they are value or reference types.
對(duì)于結(jié)構(gòu),此關(guān)鍵字將返回初始化為零或空的每個(gè)結(jié)構(gòu)成員,具體取決于這些結(jié)構(gòu)是值類(lèi)型還是引用類(lèi)型。
However, like reference types, structs can implement interfaces.
但與引用類(lèi)型相同的是,結(jié)構(gòu)也可以實(shí)現(xiàn)接口。
Unlike classes, structs can be instantiated without using the new operator.
與類(lèi)不同,結(jié)構(gòu)的實(shí)例化可以不使用new運(yùn)算符。
No matter what the problem is, the solution will always boil down to macros, pointers, structs, arrays, and functions.
不管是什么問(wèn)題,解決方案總是歸結(jié)于宏,指針,結(jié)構(gòu),數(shù)組和函數(shù)。
Classes and structs can be restricted so that only the program or namespace they are declared in may use them.
可以限制類(lèi)和結(jié)構(gòu),以便只有聲明它們的程序或命名空間才能使用它們。
Both classes and structs can define constructors that take parameters.
類(lèi)和structs都可以定義具有參數(shù)的構(gòu)造函數(shù)。
Structs can implement an interface but they cannot inherit from another struct.
結(jié)構(gòu)可以實(shí)現(xiàn)接口,但它們無(wú)法繼承另一個(gè)結(jié)構(gòu)。
It also covers the important differences between classes and structs.
它還涉及類(lèi)與結(jié)構(gòu)之間的重大差異。
All it really offers is macros, pointers, structs, arrays, and functions.
他實(shí)際提供的全部是:宏,指針,結(jié)構(gòu),數(shù)組和函數(shù)。
Classes and structs have members that represent their data and behavior.
類(lèi)和結(jié)構(gòu)具有表示其數(shù)據(jù)和行為的成員。
for structs, but the debate over how to treat union members of structs caused the proposal to be shelved.
的建議,但是關(guān)于如何對(duì)待結(jié)構(gòu)中的聯(lián)合成員的討論導(dǎo)致該建議被擱置了。
All structs inherit directly from System. ValueType, which inherits from System. Object.
所有結(jié)構(gòu)都直接繼承自System.ValueType,后者繼承自System.Object。
JSON is a JavaScript native form for serializing arrays and structs.
JSON是序列化數(shù)組和結(jié)構(gòu)的JavaScript原生形式。
Arrays and structs may not be compared to anything.
數(shù)組和結(jié)構(gòu)體可能不會(huì)任何數(shù)組進(jìn)行比較。
Classes and structs can inherit from more than one interface.
類(lèi)和結(jié)構(gòu)可從多個(gè)接口繼承。
Returns an array of structs corresponding to recent blog posts.
返回一個(gè)與最近的博客文章對(duì)應(yīng)的結(jié)構(gòu)體數(shù)組。
Events are used on classes and structs to notify objects of occurrences that may affect their state.
事件被用在類(lèi)和結(jié)構(gòu)體上,用處是通知某些對(duì)象——這些對(duì)象的狀態(tài)有可能被事件的發(fā)生所影響。
The following example shows that you can also develop partial structs and interfaces.
從下面的示例可以看出,您也可以開(kāi)發(fā)分部結(jié)構(gòu)和接口。
You can change the behavior of operators for custom classes and structs.
對(duì)于自定義的類(lèi)和結(jié)構(gòu),您可以更改運(yùn)算符的行為。
There is no inheritance for structs as there is for classes.
對(duì)于結(jié)構(gòu),不像類(lèi)那樣存在繼承。
Classes and structs can declare constants as members.
類(lèi)和結(jié)構(gòu)可以將常數(shù)聲明為成員。
This sample presents the syntax and usage of structs.
本示例介紹結(jié)構(gòu)的語(yǔ)法和用法。
New data types are defined using classes and structs.
新數(shù)據(jù)類(lèi)型是使用類(lèi)和結(jié)構(gòu)定義的。
Fixed size buffer fields may only be members of structs.
固定大小的緩沖區(qū)字段只能是結(jié)構(gòu)的成員。