15.02.2015 Views

C# 4 and .NET 4

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

dependency properties – division operator<br />

dependency properties (continued)<br />

creating, 733–734<br />

taskbar <strong>and</strong>, 1412<br />

value changed callbacks <strong>and</strong>, 735–736<br />

DependencyObject, 986<br />

DependencyObjectDemo/MyDependencyObject.cs,<br />

733, 734, 735, 736, 739<br />

dependent transactions, 616–618<br />

DependentClone(), 612, 617, 623<br />

DependentServices, 685<br />

DependentTransaction, 611, 616, 623, 636<br />

deployment (application deployment), 407–427<br />

ClickOnce technology, 408, 419–422<br />

of CLR, 409<br />

Copy Web Tool <strong>and</strong>, 408, 411<br />

options, 408, 409–410<br />

planning for, 407–409<br />

requirements, 408–409<br />

xcopy, 408, 410–411, 412, 452<br />

deployment manifest, 419, 420–421<br />

deployment projects, 408, 412<br />

Dequeue(), 236, 237, 238, 265<br />

dereference operator. See indirection operator<br />

derived classes<br />

base classes to derived classes (casting), 177–178<br />

constructors of, 94–98<br />

derived interfaces, 104–105<br />

DeriveKeyMaterial(), 557<br />

DES (Data Encryption St<strong>and</strong>ard), 554<br />

Descendants(), 293<br />

Description (project property), 414<br />

Deserialize(), 934, 938<br />

design view editor, 374, 388<br />

Design View window, 388–391<br />

design-by-contracts, 461. See also code contracts<br />

Designer rehosting, 1332–1337<br />

designers (for activities), 1317–1319<br />

design-time debugging, 374, 388<br />

destruction/instantiation, of forms, 1142–1145<br />

destructors, 313–314<br />

as finalizers, 313<br />

IDisposable <strong>and</strong>, 315–317<br />

Detach(), 873, 882<br />

detaching/attaching entities, 882<br />

Details(), 1262, 1268<br />

DetailsView, 1163, 1175<br />

DetectNewerInstalledVersion, 414<br />

DHTML (Dynamic HTML), 18, 1220, 1221<br />

dialog boxes, for projects, 424<br />

dictionaries (hash tables, maps), 248–254<br />

GetHashCode() <strong>and</strong>, 84, 147, 162, 170, 248, 249,<br />

250, 251, 284<br />

key type, 248–250<br />

lookup <strong>and</strong>, 253–254<br />

sorted, 254<br />

DictionarySample/Employee.cs, 252<br />

DictionarySample/EmployeeId.cs, 251<br />

DictionarySample/Program.cs, 252<br />

Dictionary‹TKey, TValue›, 248, 250, 252, 266, 287<br />

Dictionary.xaml, 1007<br />

DiffuseMaterial, 1030<br />

digital certificates. See certificates<br />

dimension (rank), 132, 134, 136<br />

Dimensions class, 80, 81<br />

directories<br />

folders v., 772<br />

reading ACLs from directory, 803–804<br />

Directory class, 772, 773, 780<br />

directory structure (Windows 7), 1406–1407<br />

DirectoryCatalog, 751, 753, 767, 768<br />

DirectoryInfo, 772, 774, 776, 778, 779, 783, 784, 787,<br />

804, 808<br />

methods, 774<br />

properties, 773–774<br />

DirectoryName (FileInfo), 773<br />

DirectorySeparatorChar, 775<br />

DirectoryServicesPermission, 562, 563<br />

dirty reads, 625, 626<br />

disconnected record set, 817, 818, 819<br />

discount application (shopping cart application),<br />

300–302<br />

discovering peers, 1353<br />

discovery, P2P <strong>and</strong>, 1341–1342<br />

discretionary access control list (DACL), 559<br />

dispatch interfaces, 697<br />

DispatcherObject, 986<br />

DispatcherTimer, 487, 488, 533, 1400, 1401<br />

DispId attribute, 717<br />

Display(), 118<br />

DisplayAllDocuments(), 115<br />

DisplayAllNodes(), 245<br />

DisplayFile(), 792, 797, 798<br />

DisplayFolderList(), 778, 779, 780, 783<br />

displaying output as HTML page (WebBrowser<br />

control), 643<br />

DisplayName<br />

ServiceController class, 685<br />

ServiceInstaller class, 682<br />

DisplayTabularData application, 1128–1130<br />

DisplayTree(), 292<br />

DisplayTypeInfo(), 347<br />

Dispose(), 82, 100, 101, 141, 314, 315, 316, 317, 357,<br />

618, 619, 823<br />

Distinct(), 276, 283, 878<br />

Distributed Routing Table (DRT), 1345–1346<br />

Distributed Transaction Coordinator (DTC), 611, 616<br />

distributing code, with certificates, 567–568<br />

Divide(), 146, 147<br />

division operator, 157<br />

division operator (/, %), 151, 152, 153, 157<br />

1432<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!