UEU-co logo

P


Previous Page

Next Page

Index

P

packaging applications, 56–59 PaintEventArgs control, 387 painting, 387–388 Palm OS (Palm Inc.), 6 Panel control, 84–85 parameter passing, C# classes, 30 parametric polymorphism, 21 partial classes, new features, 438 passing arrays, 266–267 blittable fields, 268–270 classes, 268–270, 270–271 multiple values, C# classes, 30 non-blittable fields, 270–271 parameters, C# classes, 30 by reference, 265–266 string variables, 267–268 structures, 268–270, 270–271 passwords, 330, 341–346 Path class, 112 Pen objects, 387–388 Pending() method, 179–187 performance counters, 412–417 exceptions counters, 416 forms loading, 103 garbage collection counters, 416 general principles, 411–412 generics counters, 416 GUI-related counters, 417 interop counters, 416 JIT compilation counters, 416 loader counters, 416 memory usage counters, 416 .Net Compact Framework counters, 412–417 networking counters, 416 P/Invoke, 278 threads counters, 416 performance, CLR BCL collections, 424–425 blittable data types, 419 call overhead, 418–423 class libraries, 424–428 COM calls, 418–420 foreach() method, 425 garbage collection, 417–418 generics, 423–424 iterating through collections, 425 math operations, 423 P/Invoke calls, 418–420 polymorphism, 423–424 Prelink() method, 419–420 PrelinkAll() method, 419–420 reflection operations, 423 Regex class, 427–428 regular expressions, 427–428 String class, 426–427 string handling, 426–427 StringBuilder class, 426–427 virtual calls, 420–423 performance, forms BackgroundWorker class, 430–431 BeginUpdate() method, 433–434 EndUpdate() method, 433–434 InitializeComponent() method, 431–433 layout, 431–433 loading, 430–431 prepopulating data, 430–431 repainting controls, 433–434 ResumeLayout() method, 431–433 SuspendLayout() method, 431–433 performance, XML data access local data, 429 reading XML data, 428 remote data, 429 writing XML data, 428 XML schema, 428 XML serialization, 429 XmlReader class, 428 XMLSerializer class, 429 XmlWriter class, 428 persistent storage filesystems, 106–107 philosopher’s dinner problem, 300 Phone Lock feature, 330 physical access protection, 330 pictures. See graphics. PIM data, 216–220. See also POOM (Pocket Outlook Object Model). PimItemCollection class, 219–220 PINs, 330 P/Invoke calls, performance, 418–420 Dumpbin.exe utility, 258–260 environment variables, Windows, 258–260 managed DLLs, 257–260 name mangling, 258 P/Invoke, managed code converting to unmanaged, 263–271. See also marshaling. exporting functions from, 262 memory management, 256 portability, 256 reusability, 256 versus unmanaged, 255–257 P/Invoke, .Net Compact Framework calling conventions, 260 character coding, 261 error handling, 262–263 example application, 271–277 exceptions, 261 exporting DLL functions, 261–262 extern keyword, 262 GetLastError property, 263 marshaling data arrays, passing, 266–267 blittable fields, passing, 268–270 blittable types, 264–266 classes, passing, 268–270, 270–271 data fields, physical layout, 269–270 definition, 263 MarshalAs attribute, 270–271 non-blittable fields, passing, 270–271 out parameter, 265–266 passing by reference, 265–266 ref parameter, 265–266 reference types, 266–268 string keyword, 267–268 string variables, passing, 267–268 StringBuilder class, 267–268 structures, passing, 268–270, 270–271 UnmanagedType enumeration, 270–271 value types, 264–266 MissingMethodException, 263 NotSupportedException, 263 overview, 16–17 performance optimization, 278 SetLastError property, 263 static keyword, 262 unidirection, 261 unmanaged code functions, 261–262 Windows messages, 261 PKI (public key infrastructure), 309 Platform Invoke. See P/Invoke. platforms. See operating systems. Pocket PCs, operating system, 7–8 Policy namespace, 453 polygons, drawing, 393–397 polymorphism C#, 32–33 performance, 423–424 POOM (Pocket Outlook Object Model), 202–203 POP (Power-On-Password), 330 Ports namespace, 450 power management, 7 PPTP (Point-to-Point Tunneling Protocol), 351 Prelink() method, 419–420 PrelinkAll() method, 419–420 Priority() method, 297 private keys, 309 private modifier, 31 PrivateFontCollection class, 386 privileged applications, 310 Privileged Applications Policy, 323 process window, 293 ProcessConnection() method, 189–192 processes, listing, 293 program memory, 106 programs, writing. See application development. project files, 51 projects, creating, 43–49 properties, viewing, 293. See also specific properties. Properties window, 46 protected memory exception, 290 protected modifier, 31 ProtocolVersion property, 168 Proxy property, 168 public key infrastructure (PKI), 309 public keys, 309 public modifier, 31 public-key encryption, 309

Previous Page

Next Page

Leave a Reply


Time limit is exhausted. Please reload the CAPTCHA.

Categories

apply_now Pepperstone Group Limited