友情提示:如果本网页打开太慢或显示不完整,请尝试鼠标右键“刷新”本网页!
VB2008从入门到精通(PDF格式英文版)-第84部分
快捷操作: 按键盘上方向键 ← 或 → 可快速上下翻页 按键盘上的 Enter 键可回到本书目录页 按键盘上方向键 ↑ 可回到本页顶部! 如果本书没有阅读完,想下次继续接着阅读,可使用上方 "收藏到我的浏览器" 功能 和 "加入书签" 功能!
lottery application; calculating frequency methods; shared; 96
of numbers; 395–405 Microsoft Developer Network (MSDN); 59
overview; 395 minor number; 334
performing set operations; 412–413 Module1。vb file; 37–38; 53
processing multiple streams; 410–411 modules。 See ponents
selecting data; 408–409 Monitor type; 357–358
selecting with anonymous types; 409 Monitor。Enter() method; 358; 365
sorting results; 411–412 Monitor。Exit() method; 365
ListItem class; 206 Monitor。Pulse() method; 366
Load() method; 330 Monitor。Wait() method; 358; 365
LoadConfiguration() method; 133 MoveNext() method; 219
element; 327; 328 MSDN (Microsoft Developer Network); 59
LoaderSection class; 328–330 multiple streams; processing; 410–411
Locals pane; 117 multiple…core microprocessor; 344
…………………………………………………………Page 465……………………………………………………………
■I N D E X 443
multitasking; 341–344 server…side spreadsheets; 311
overview; 341–342 theory of; 288–291
preemptive; 342 using lambda expressions in; 302
time slicing; 342–344 software development kit ( SDK);
multithreading; 341–369 1; 59
multitasking; 341–344 New keyword; 90; 189; 425
overview; 341–342 newVersion attribute; 336
preemptive; 342 NextItem data member; 205–206
time slicing; 342–344 NextStatement() method; 109
producer/consumer architecture; 363–368 Node declaration; 97
asynchronous approach; 367–368 Node elements; 89–100
generic; 364–366 initializing; 90–91
hidden; 363–364 instantiating; 90–91
reader/writer threaded architecture; switching to classes to define; 94
359–363 Node objects; 103
threads; 344–358 Node shared constructor; 111
creating; 345–346 Node value type; 89
creating with state; 347 Node。RootNodes shared data; 99
deadlocks; 355 Nothing parameter; 328
synchronizing between; 349–355 Nothing statement; 108
waiting for end of; 346–347 Nothing value; 91
MustInherit keyword; 139; 145 NotImplementedException type; 128
MustOverride keyword; 157; 159–161 NotSupportedException exception; 127
MyImplementation class; 314 NotSupportedException type; 129
MyReferenceType type; 86 nullable types; 426
MyReferenceType variable; 84 NullReferenceException exception; 127
MyType。 MyType instance; 286 NullReferenceException type; 129
MyType parameter; 300 number…related types; 25–49
MyValueType type; 86 class libraries; 30–41
MyValueType variable; 82 Add() method; 33
MyValueTypeWithReferenceType variable; 84 numbers; puter understanding of;
40–41
■N
CLR numeric types; 43–45
namespace; 31 objects; 56–59
NameValueCollection type; 322 reference types; 42–43
navigating user controls of solutions; 12 software development; 25–30
nested data types; 226–227 focusing; 27–30
generics; 285–312 organizing; 26
assigning state without knowing type; value types; 42–43
304–307
numbers
calculating averages; 308–311
puter understanding of; 40–41
defining interfaces; 292–302
in different languages/cultures; 69–72
designing architecture; 292
NumberStyles enumerated values; 71
need for; 285–288
numeric data types; 44
overriding ToString() functionality;
nvarchar(100) type; 381
307–308
…………………………………………………………Page 466……………………………………………………………
444 ■IN D E X
■O Overridable base class method; 190
object initialization; 214 Overridable keyword; 175; 190; 192
Object Linking and Embedding; Database override functionality; 139
(OLE DB); 375 Overrides keyword; 190; 192
Object type; 286; 306; 324 overriding; 176
object…oriented (OO) programming; 135–162
■P
currency converters; 152–157
ActiveCurrencyTrader class; 152–155 ParameterName property;
IDbDataParameter type; 384
HotelCurrencyTrader class; 155–157
parameters; 85–86
currency exchange application
Parse() method; 70–71; 130–131
organizing; 137
partial classes; 150; 150–151; 427
writing tests for; 137–152
Partial keyword; 150; 151
currency spreads; 136–137
partial methods; 427
MustOverride keyword; 159–161
partial taxation; 164
preprocessor directives; 157–159
patch number; 334
property scope; 159
Peek() method; 247; 264
objects; 56–59
performance; 291
objects variable; 231
PeriodicIncrement() method; 364
Object。ToString() method; 426
persistence; 249–284
ODBC (Open Database Connectivity); 375
important stuff to remember; 283–284
oldVersion attribute; 336
organizing; 249–250
OLE DB (Object Linking and Embedding;
Database); 375 person。Attributes variable; 419
onHeap variable; 234 persons table; 380–381
PersonWithAttributes attribute; 418
onStack value…type variable; 234
onStack variable; 234 piping data
Open Database Connectivity (ODBC); 375 binary; 268–277
OpenStandardOutput() method; 272 converting binary streams into text
streams; 275–277
operating system; 368
using consoles; 250–268
Operations。vb file; 33
placeholder interfaces; 200–202
operators; arithmetic
plain…vanilla lists; 245–246
addition; 417
plug…in architecture; 315
bitwise; 419
Position properties; 276
Or operator; 109
preemptive multitasking; 342
OrElse operator; 109
prefixallo test; 63
organizational code; 116
prefixalloappend test; 64
OutOfMemoryException type; 129
preprocessor directives; 149; 157; 157–159
Output Path field; 319
PrevItem data member; 205; 206
output paths; setting; 318
Private classes; 225–226
Oven class; 143
Private keyword; 322
overflow; 39; 41
private scope; 145; 146–148
OverflowException type; 129
PrivateRoom implementation; 223; 224–225
overloading behavior; 140
Process() method; 264
Overloads keyword; 170
ProcessRunningTotal() method; 242
…………………………………………………………Page 467……………………………………………………………
■I N D E X 445
ProcessValue delegate; 241 reading
producer/consumer architecture; 363–368 configuration files; 321–322
asynchronous approach; 367–368 data
generic; 364–366 from consoles; 250–252
hidden; 363–364 from files; 251
producer/consumer locks; 369 enhanced configuration files; 330
projects; 4 ReadLine() method; 264
properties; 135 read…only lock; 361
property scope; 159 ReadOnlyCollection type; 351
_propTypeName data member; 338 read/writer implementation; 361
Protected keyword; 146 RealAmount property; 179
protected scope; 145; 146–148; 147 Rectangle。CalculateArea() method; 169
_province data member; 183 RectangleImpl class; 172
province parameter; 184 ReDim keyword; 204
Public keyword; 18; 82; 97; 146; 274; 322 ReDim statement; 92–93
public scope; 141; 145; 146–148 reference types; 42–43; 84–85
PublicRoom implementation; 223; 224–225 ReferenceHeap class; 234
object initialization with nested data referencing; 91–94; 314
types; 226–227 reflection; 306
Private classes; 225–226 relational databases; 371–393
Pulse() method; 358 accessing; 375; 382–386
Pure behavioral; 174 database relations; 373–375
Push() method; 247 Dataset Designer; 387–392
building relations between tables;
■Q 387–391
Queue class; 230
using generated code; 391–392
Queue lists; 247
designing; using Visual Basic Express;
QueueProcessor() method; 366 377–381
quoting strings; 65–66 overview; 371
■R tables; 371–372
RAD (rapid application development) relations; building between tables; 387–391
environment; 5 release mode; 158
RAM (random…access memory); 40 ReleaseLock() method; 359
rapid application development (RAD) ReleaseReaderLock() method; 359
environment; 5 ReleaseWriterLock() method; 359
RDO (Remote Data Objects); 375 Remote Data Objects (RDO); 375
ReaderWriter class library; 250 Remove() method; 208; 246
reader/writer locks; 369 removing items from linked lists; 207–208
reader/writer threaded architecture; 359–363 responsibility; 55
ReaderWriter。Bootstrap module; 255 results; sorting; 411–412
ReaderWriterLock class; 359 Return keyword; 102
ReaderWriterLock type; 361 returnArray( c1) array element; 108
快捷操作: 按键盘上方向键 ← 或 → 可快速上下翻页 按键盘上的 Enter 键可回到本书目录页 按键盘上方向键 ↑ 可回到本页顶部!
温馨提示: 温看小说的同时发表评论,说出自己的看法和其它小伙伴们分享也不错哦!发表书评还可以获得积分和经验奖励,认真写原创书评 被采纳为精评可以获得大量金币、积分和经验奖励哦!