VB2008从入门到精通(PDF格式英文版)-第126部分
按键盘上方向键 ← 或 → 可快速上下翻页,按键盘上的 Enter 键可回到本书目录页,按键盘上方向键 ↑ 可回到本页顶部!
————未阅读完?加入书签已便下次继续阅读!
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