Data ErrorInfo interface IData Reader interface IDbCommand interface IDbConnection interface

IDBDataAdapter interface, 429

IDbParameter interface, 417-419

IDE (Integrated Development Environment)

Code Editor, 29-32 Code Explorer, 34-35 code snippets, 28 Data Explorer, 33-34 Designer, 25, 27 forms, 27-28 keyboard shortcuts, 30 Model View, 33 Object Inspector, 29 Object Repository, 34 Project Manager, 32 To-Do list, 35 Tool Palette, 28 Welcome page, 24-25 IDictionary interface, 198-199 IDictionaryEnumerator interface, 198 IDispatch interface, 358, 374 IDisposable interface, 193-196 IdleTimeOut attribute

<httpRuntime> tag, 725 <processModel> tag, 729

IDotNETClassForCOM interface, 376-377

IEditableObject interface, 464

IEnumerable interface, 198

IEnumerator interface, 198-200

IErrorInfo interface, 369

IExtenderProvider interface, 296

if statement, 74-75

$IFDEF compiler directive, 47

IFF() method, 458

IFoo interface, 366

IHashCodeProvider interface, 198

IIdentity interface, 704

IIS management console, 716

ILease interface, 683

ILGenerator class, 352, 355 IList interface, 198-199, 464 ImageButton1_Click() event handler, 580 images, 147. See also GDI+ library bitmaps, 148 drawing, 150-151 flipping, 151-153 interpolation, 151 metafiles, 148 mirror effect, 151-153 rendering from databases, 602 resolution, 149-150 rotating, 151-153 thumbnails, 156-157 transformations, 153-156 WebForms, 577 world coordinates, 157-158 \images directory, 719 immutability of strings, 222-224 impersonization, 714-715 implementation keyword, 39-40, 82 implicit parameters, 278 in operator, 66-67, 456 INamingContainer interface, 784 Inc() function, 55-56 Include() function, 67

IncludeTrailingPathDelimiter() method, 243

increment procedures, 55-56

indenting code blocks, 31

index components, 230

indexing DataTables, 440

IndexOf() method, 199

individual pages, authenticating, 703-705

InfoMessage event, 409, 411

inheritance, 543

inherited statement, 195

Inherits attribute (ASP.NET pages), 541

InitComp() method, 300, 305-306

initialization statement, 40, 83

InitializeComponent() method, 284

InitializeLifetimeService() method, 683-684

InProc mode (session state), 726

input/output. See I/O

Insert queries

GetDataAdapterInsertCommand() method, 487-488

InsertProduct stored procedure, 493-494 SQLCommand class, 481 Insert() method, 199, 223, 227-229, 744 InsertCommand object, 429 InsertCompany() method, 508 InsertContact() method, 508 inserting strings, 227 InsertProduct stored procedure, 493-494 InsertRange() method, 206 installation. See also configuration Mono, 170 packages, 122 InstallPersistSqlState.sql, 759 InstallSqlState.sql, 758 instance methods, 312-314 instantiating objects, 86, 654 Automation object, 359 client activation, 655 single-call activation, 655 singleton activation, 655 integer division operator, 54-55 Integrated Development Environment. See IDE interdependencies, 282-283 interface statement, 39, 82 interfaces. See also names of individual interfaces declaring, 100 defined, 99

implementing, 100-102, 376-377 interface variables, 102-103 methods, 101 Interlocked class, 322, 325-326 Interop Assemblies, 364-365 components of, 366-367 Copy Local option, 365 creating, 366 customizing, 371-372

PIAs (Primary Interop Assemblies), 369-372 RCWs (Runtime Callable Wrappers), 366

Interop Type Libraries, 375-376 interoperability advantages of, 356-357

COM objects in .NET code

COM events, 367-369

COM lifetime control, 369

early bound COM, 362-364

error handling, 369

Interop Assemblies, 364-367, 371-372

late bound automation, 358-360

optional parameters, 360-362

PIAs (Primary Interop Assemblies), 369-372

RCWs (Runtime Callable Wrappers), 366 reference parameters, 360-362 value parameters, 360-362 common interoperability issues, 357-358 .NET objects in COM code assembly registration, 373 CCWs (COM Callable Wrappers), 372 error handling, 381 interface implementation, 376-377 Interop Type Libraries, 375-376 late bound automation, 374-375 marshaling, 378-380 parameter types, 378-380 .NET routines in Win32 code, 395-396

Items property 827

import declarations, 400 marshaling, 397-400 parameter types, 397-400 traditional Delphi syntax, 396-397 Win32 DLL exports in .NET code, 381-382 custom attribute syntax, 383-384 error handling, 387-388 HResult error codes, 389-391 marshaling, 384-387 parameter types, 384-387 performance issues, 391-395 traditional Delphi syntax, 382-383 Win32 error codes, 388-389 interpolation, 151

Interprocess Communications (IPC), 308, 328, 651

Interrupt() method, 337

intersection, 67

IntPtr variable, 387

InvMemb application, 348-350

invokeAttr parameter (InvokeMember() method), 347

InvokeMember() method, 347, 350, 360

InvokeRequired property (Control class), 330-331

InvokeType() method, 346

invoking

GC (Garbage Collector), 191 members

CreateInstanceFrom() method, 347 GetConstructor() method, 348 GetEvent() method, 348 GetField() method, 348 GetMethod() method, 347-348 GetProperty() method, 348 InvMemb sample code listing, 348-350 InvokeMember() method, 347 InvokeType() method, 346

InvProject sample code listing, 345-346

WriteMessage() method, 347

Web services, 624, 638-639

InvProject application, 345-346

IPC (Interprocess Communications), 308, 328, 651

IPostBackDataHandler interface, 779

IPostBackEventHandler interface, 779

IsAuthenticated property (FormsIdentity class), 704

ISerializable interface, 256-257

IsFixedSize property (ICollection interface), 199

ISimpleFactory interface, 676-677

ISimpleServer interface, 677

isolation levels, 508-510

ISpeechVoice interface, 367

ISpeechVoiceEvents interface, 367

ISponsor interface, 656, 684

IsPositive() function, 78

IsPostBack property (Page class), 549-550

ISpVoice interface, 362, 367

IsReadyOnly property (ICollection interface), 199

IsResource() method, 342 IsSynchronized property, 199, 329 IsValid property (BaseValidator class), 559 Item property

Cache class, 744 DataTable class, 518 DataView class, 452 ICollection interface, 199

ItemChanged event, 469 ItemCommand event, 595, 599 ItemCreated event, 595, 599 ItemDataBound event, 595, 599 Items property

DataList control, 599 ListControl, 586 Repeater control, 595

ItemStyle property

DataGrid control, 604 DataList control, 599 ItemTemplate template, 595 iterative controls

DataGrid control adding items to, 613 column types, 603-604 editing, 607-613 paging, 604-607 sorting, 613-614 DataList control declaration, 600 events, 599 example, 600-601 image rendering, 602 properties, 599 templates, 598 Repeater control declaration, 596-597 events, 595 example, 595-596 output, 597-598 properties, 595 templates, 595 lUnknown interface, 358

$J compiler directive, 52 Java RMI, 644

JIT (just-in-time) compilation, 15

Join() method, 330

joins

DataViews, 462-463 lines, 132-133 JustWorthless sample control, 265-267, 280

/K option (XCOPY), 720 Key property (Cache class), 744 keyboard shortcuts, 30 keys pairs, 122

Keys property (ICollection interface), 199 keywords. See names of individual keywords Kothari, Nikhil, 790

language attribute (ASP.NET pages), 540, 767 language neutrality, 11

LastAccess value (NotifyFilters enumeration), 255

LastAccessTime property (FileSystemInfo class), 244

LastAccessTimeUtc property (FileSystemlnfo class), 244

LastIndexOf() method, 206

LastWrite value (NotifyFilters enumeration), 255

LastWriteTime property (FileSystemlnfo class), 244

LastWriteTimeUtc property (FileSystemlnfo class), 244

late binding, 344-345

late bound automation, 358-360, 374-375

layouts (desktop), 26

leases, 655-656, 686

LEN() method, 458

length of strings, finding, 227

Length property (StringBuilder class), 228

libraries. See assemblies; DLLs library statement, 112

lifetime control (COM), 369

lifetime management, 683-685

lightweight threads, 309

LIKE operator, 456-458

LinearGradientBrush class, 130, 141

managed modules 829

LineCap enumerations, 130-132 LineJoin property (Pen class), 133 lines, drawing

Brush classes, 128-130 ClearCanvas() method, 128 DrawLine() method, 129 GraphicsPath class, 132-133 joining lines, 132-133 line caps, 130-132 Pen class, 128

sample code listing, 128-130 ListBox control, 466, 590-592 lists

CheckBoxList control, 586-588 data binding, 465-466 DropDownList control, 588-590 list controls, pre-populating, 557-558 ListBox control, 590-592 RadioButtonList control, 593-594 Load event, 554-555 loading assemblies, 123-124 bitmaps, 148 LoadModule directive, 185 LoadPostData() method, 779, 782 local storage, 328 LocalBuilder class, 352 localization, 226

localOnly attribute (<trace> tag), 735

Location property (Assembly class), 340

<location> section (ASP.NET web.config), 723-724

Location setting (@OutputCache), 730, 739 Lock() method, 762 Locking Control, 26 locking mechanisms, 322

Interlocked class, 325-326 Monitor class, 324-325

Mutex class, 323-324 ReaderWriterLock class, 325 WaitHandle class, 323 LoggedIn() method, 755 logical operators, 53-54, 456 logical threads, 309-310 LoginControl, 769, 771

loginUrl attribute (web.config <forms> section), 703

logLevel attribute (<processModel> tag), 729 loops, 75

break statement, 77 continue statement, 77-78 for loop, 76 repeat...until loop, 77 terminating, 77 while loop, 76-77

Low() function, 62

lowercase, converting strings to, 227 Lowest thread priority, 316

Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook


Post a comment