|
data access API. See ADO.NET
data adapters, 462–465
data formats with Web services, 473
data I/O. See System::IO namespace
data members. See variables
Data namespaces, 282
data providers, ADO.NET, 452
data structures. See arrays
data types, 28–29
converting between, 31
return types for functions, 48
type casting, 41
typedefs, 35
databases, connecting to (ADO.NET), 454–456
DataColumn class (System::Data), 282, 460
DataGrid class (System::Windows::Forms), 281, 289, 330
DataRow class, 460
DataSet class (System::Data), 282, 459–461, 465–466
DataTable class (System::Data), 282, 460–461
DateTimePicker class (System::Windows::Forms), 281, 289, 330
Debuggable attribute, 188
DebuggableAttribute class (System::Diagnostics), 532
DebuggerHiddenAttribute class (System::Diagnostics), 532
DebuggerStepThroughAttribute class (System::Diagnostics), 532
debugging Web services, 484
Decimal type, 276
decision statements
if statements, 65–74
switch statements, 74–77, 162–163
declaring
arrays, 212
classes, 21
function prototypes, 46–49
loop variables, 80
scope considerations, 59
variables, 29–30, 53
decrement (--) operator, 38, 169, 179–180
default
constructors, 157
function parameter values, 48
variable values, 30
default statement, 75. See also switch statements
DefaultPageSettings property (PrintDocument), 374
__delegate keyword, 251, 254
delegates, 249–256
Delete method
Directory, DirectoryInfo classes, 388–389
File, FileInfo classes, 389–390
delete operator, 96, 112, 119
array deletion, 214
mixed classes, 508
DeleteCommand class, 461
deleting objects. See destroying objects
deployment, 271
Depth property (XmlTextReader), 408
Depth property (XmlValidatingReader), 415
dereference (*) operator, 33
derived classes, 18. See also inheritance
accessing base class members, 135–137
defining, 133–135
overriding member functions, 140–144
Description namespace (System::Web::Services), 475
descriptions, Web services, 474
Design namespace (System::Drawing), 280, 358
designers for forms, 286, 294
DesktopLocation property (Form), 292
destroying objects, 95–97, 118–120
destructor functions, 99–101, 119, 122
destructors, defining, 99–101
dynamic memory management, 120–128
Diagnostics namespace, 278
dialog boxes (forms), 319–329
common, 327–329
data with, 324–327
tab ordering, 327
DialogResult property (Button), 303, 323–324
directories
browsing in forms, 335–339, 343–347
getting information about, 387–396
Directory, DirectoryInfo classes (System::Diagnostics), 279
Directory, DirectoryInfo classes (System::IO), 380, 387–396
Directory property (FileInfo), 390
DirectoryName property (FileInfo), 390
DISCO (Discovery of Web Services), 474, 481
disconnected applications, creating with ADO.NET, 459–466
discovery, Web services, 474, 481
Discovery namespace (System::Web::Services), 476
Discovery of Web Services (DISCO), 474, 481
Dispose method, 125–128
BinaryWriter class, 397
TextReader class, 385
TextWriter class, 381
distributed applications. See Web applications; Web services
DivideByZeroException class, 192
divide-by-zero error, 185
division operators, 37–38, 169
DllImportAttribute class, 520–522
DLLs (dynamic link libraries), 533
Document node type, 409
DocumentElement property (XmlDocument), 425
DocumentFragment node type, 409
DocumentName property (PrintDocument), 374
documents, XML. See XML
DocumentType node type, 409
DocumentType property (XmlDocument), 425
DOM (Document Object Model), 424
DomainUpDown class (System::Windows::Forms), 281, 330
double data type, 28, 276
do-while loops, 81–83
downcasting. See casting
Draw methods (System::Drawing::Graphics), 361
drawing. See graphics in forms; System::Drawing namespaces
Drawing namespaces, 280, 358–359
drop-down menus. See menus in Windows Forms
DropDownStyle, DropDownWidth properties (ComboBox), 307
DroppedDown property (ComboBox), 307
dynamic advertising of Web services, 475
dynamic casting, 201
dynamic link libraries (DLLs), 533
dynamic memory allocation, 120–128. See also garbage collection
arrays and, 213–214
Dispose method, 125–128
finalizers, 121–124
dynamic_cast operator, 41, 517
|