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.

poison messages – properties<br />

to class members, 324–325<br />

to classes, 324<br />

code access security <strong>and</strong>, 318<br />

example (PointerPlayground), 325–329<br />

memory access with, 317–325<br />

performance <strong>and</strong>, 317, 329–332<br />

QuickArray example, 331–332<br />

reasons for, 317<br />

reference types <strong>and</strong>, 317<br />

to structs, 323–324<br />

subtracting, 323<br />

syntax, 319–320<br />

type safety <strong>and</strong>, 8, 318<br />

unsafe code <strong>and</strong>, 317–319<br />

void, 321<br />

poison messages, 1359<br />

poison queue, 1359<br />

polling, 493<br />

PolyBezierSegment, 989<br />

Polygon class, 987<br />

Polyline class, 987<br />

PolyLineSegment, 989<br />

PolyQuadraticBezierSegment, 989<br />

Pop(), 240, 241, 263, 265<br />

POP protocol, 656<br />

POST, 639, 656<br />

PostBuildEvent, 414<br />

postconditions, 464<br />

postfix/prefix, 153<br />

#pragma, 58<br />

PreBuildEvent, 414<br />

precedence, operator, 157<br />

preconditions, 463–464<br />

preconfigured host classes, 1303–1304<br />

predefined integer types, 33<br />

predefined reference types, 35–37<br />

predefined value types, 33–35<br />

prefix/postfix, 153<br />

Prepare(), 627<br />

preparing phase (transactions), 606<br />

preprocessor directives, 55–58, 387. See also custom<br />

attributes<br />

prerequisites URL, 416<br />

PreserveChanges, 876<br />

PreviewMouseMove, 736<br />

primary key constraints (DataTable), 842<br />

primary operators, 154, 157<br />

principal, identity <strong>and</strong>, 545–547<br />

PrintDialog, 1091<br />

printing, 1091–1093<br />

with PrintDialog, 1091<br />

visuals, 1092–1093<br />

with WebBrowser control, 651<br />

PrintingDemo/MainWindow.xaml.cs, 1093<br />

PrintingPermission, 563<br />

priority, thread, 498–499<br />

priority binding, 1049–1051<br />

priority messages, 1372–1373<br />

priority node, 242, 244, 245<br />

PriorityDocumentManager, 243, 244, 246<br />

private (modifier), 66, 99<br />

private assemblies, 14–15, 434, 447, 448, 452, 453, 454,<br />

459. See also shared assemblies<br />

private inheritance (C++), 90<br />

private queues, 1361<br />

private/public keys, 552–554<br />

‹probing›, 454<br />

Process class, 643<br />

ProcessAndDisplayNumber(), 189, 190, 194, 195<br />

ProcessDocuments, 238, 239<br />

processes. See also application domains<br />

code isolation <strong>and</strong>, 11–12<br />

performance <strong>and</strong>, 12<br />

security <strong>and</strong>, 12<br />

ProcessRequestForMessage(), 886<br />

ProductCode, 414<br />

product.cs, 846, 847, 848, 849<br />

ProductDataTable, 846–847<br />

ProductName (project property), 414<br />

ProductRow class, 848–849<br />

Products table, 839, 842, 843, 844<br />

Products.xsd, 844<br />

Professional ASP.<strong>NET</strong>4: in <strong>C#</strong> <strong>and</strong> VB (Wiley<br />

Publishing), 247, 1156, 1181<br />

Professional Microsoft SQL Server 2008 Programming<br />

(Wiley Publishing), 955<br />

Professional XML (Wiley Publishing), 904<br />

ProgId attribute, 716<br />

progress (dialog box), 424<br />

ProgressBar, 995<br />

ProgressBar control, 1137<br />

ProgressChangedEventArgs, 538, 1349<br />

projection operators (query operator category), 275<br />

projects (Visual Studio 2010). See Visual<br />

Studio 2010<br />

promotable transactions, 614–616<br />

properties, 67, 72–74. See also specific properties<br />

access modifiers for, 73<br />

attached, 739–741<br />

as attributes (XAML), 730–731<br />

auto-implemented, 74<br />

dependency, 732–736, 739<br />

as elements (XAML), 731<br />

exports (MEF) <strong>and</strong>, 759–760<br />

methods v., 64<br />

project, 414–415<br />

read-only, 73<br />

System.Exception, 359–360<br />

System.Type, 340–341<br />

usage guidelines, 64<br />

virtual, 91–92<br />

write-only, 73<br />

1453<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!