|
|
Авторизация |
|
|
Поиск по указателям |
|
|
|
|
|
|
|
|
|
|
Hogenson G., Lippman S. (Ed.) — C++/CLI: The Visual C++ Language for .NET |
|
|
Предметный указатель |
Handles, using managed object in native class 342
Handles, using two handle symbols 10
Hash code, GetHashCode method, Array class 104
Heap, creating native objects with new or malloc 2
Heap, declaring variables on stack or on heap 47—52
Heap, heap compaction 2
Heap, heap object lifecycle 48
Heap, managed heap 2
Heap, native heap 2
Heap, treating object on heap as if on stack 50
Helper classes, Scrabble game 127
HRESULT error codes, exceptions and errors from native code 269
HRESULT error codes, interop with COM HRESULTs 354
HWnd class, wrapper classes for unmanaged resources 163
IAddition interface 316
IAsyncResult interface 189
IComparable interface 246—248
IComparable interface, CompareTo method 246
IComparable interface, comparing strings 80 81
IComparable interface, sorting array 105
IComparable interface, using generic IComparable 246
IConvertible interface 85
Identifiers, keywords as 357
IDisposable interface, class destruction and cleanup 161
IDisposable interface, Dispose method 295
IEnumerable interface 248—255
IEnumerable interface for each statement 248 249
IEnumerable interface, changing collection 249
IEnumerable interface, enumerating playing cards 249
IEnumerable interface, generic collection classes 290
IEnumerable interface, generic form 255
IEnumerable interface, GetEnumerator method 248
IEnumerable interface, String class implementing 79
IEnumerable interface, traversing linked list with for each 295
IEnumerator interface 248—255
IEnumerator interface, Current property 79
IEnumerator interface, enumerating playing cards 249
IEnumerator interface, generic collection classes 290
IJW (it just works) 317
IKey interface 304
IL (Intermediate Language), architecture dependence and 64-bit programming 32
IL (Intermediate Language), CIL 3
IL (Intermediate Language), compilation modes available for 362
IL (Intermediate Language), introduction 319
ILDasm (Intermediate Language DISassembler) 34—37
IList generic wrapper class, AsReadOnly method, Array class 104
IList interface, Array class 103
IList interface, iterating with for each and with index 308
IList interface, trapping invalid cast exception 307
Implements keyword 235
Import directive, COM interop 328
Import directive, COM libraries 37
Import directive, compilation modes available for 362
Import directive, pure mode 31
in keyword 356
In property, Console class 87
Include directive 6
Include tag, XML documentation 359
Indexed properties 22 177—184
Indexed properties, backing property with collection 180
Indexed properties, Chars indexed property 76
Indexed properties, default indexed property 108 178
Indexed properties, using multiple indexes 182
Indexes, code substitutions 81
Indexes, FindIndex method 104
Indexes, FindLastIndex method 104
Indexes, GetLowerBound method 105
Indexes, GetUpperBound method 105
Indexes, iterating with 307
Indexes, LastIndexOf method 105
IndexOf method, Array class 105
IndexOutOfRangeException 260
IndexOutOfRangeException, going past the end of arrays 99
Indirection operator 108
Indirection, passing handle by reference using ^% 54
inheritance 211—234
Inheritance hierarchies, casting in 233—234
Inheritance hierarchies, cross-language interop 317
Inheritance hierarchies, name collisions in 212—219
Inheritance hierarchies, name collisions in, new keyword 214—215
Inheritance hierarchies, name collisions in, override keyword 215—219
Inheritance, abstract classes 219—220
Inheritance, abstract classes, interfaces compared 220
inheritance, attributes 271
Inheritance, C++/CLI and classic C++ 211 212
Inheritance, constructors 226—228
Inheritance, constructors, order of initialization 227
Inheritance, constructors, virtual functions in 228—230
Inheritance, CTS (common type system) 4
Inheritance, destructors 231
Inheritance, finalizers 232—233
Inheritance, implementing inherited functions separately 243
Inheritance, interface classes 19
Inheritance, interface inheritance 238
inheritance, multiple inheritance 211
Inheritance, primitive types 45
Inheritance, private and protected inheritance 212
Inheritance, reference and value types compared 118
Inheritance, reference types 4
Inheritance, sealed classes 220—222
Inheritance, special member functions and 225—233
Inheritance, value classes 117
Inheritance, value types 4 212
Inheritance, virtual properties 222—225
Inherited property 279
Initialization, constructor order of 227
Initialization, initializing attribute with properties 278
Initialization, initializing static initonly field 125
Initialization, managed types 118
Initialization, static constructors 119
Initialization, static initialization 119
Initialization, TypeInitializationException 260
Initialize method, Array class 105
initializing arrays 93—95
Initializing arrays, initializing part of arrays 96
Initonly fields 124—125
Initonly fields, initializing static initonly field 125
Initonly fields, new types of constant values 118
Initonly fields, Scrabble game 131
Initonly fields, syntax 367
Initonly keyword 356
Inline assemblies, pure mode 31
InnerException 261
InnerException property, Exception class 261
InnerObject property 309
Input/Output 86—92
Input/output, basic I/O functions 86
Input/output, Console class 86—87
Input/output, reading and writing files 87—89
Input/output, reading and writing strings 89—90
Input/output, StreamReader class 87—89
Input/output, StreamWriter class 87—89
Input/output, String class 90—92
Input/output, StringReader class 89—90
Input/output, StringWriter class 89—90
Instance functions 220
Int16/Int32/Int64 types 11
Integers, boxing an integer type 45
Integers, unboxing Object to integer 46
Interface class keyword 357 365
Interface class type 12
interface classes 19—20
Interface handles 235
Interface handles, dynamically loaded types 255
Interface handles, interface name collisions 242
Interface implementation 371
Interface inheritance model 241
Interface keyword 236
Interface struct keyword 357
Interfaces 235—257
| Interfaces, abstract classes compared 220 235—236
Interfaces, access control 236
Interfaces, assembly using template type in public interface 311
Interfaces, CLS compliant alternative 321
Interfaces, creating interface in C++ 320
Interfaces, declaring 236—237
Interfaces, declaring and implementing 236
Interfaces, declaring generic interface 313
Interfaces, declaring generic interface for template 313
interfaces, defining and implementing 19
Interfaces, dynamically loaded types and 255—257
Interfaces, explicitly specifying implicit base classes 237
Interfaces, implementing inherited functions separately 243
Interfaces, implementing multiple interfaces 236
Interfaces, implements keyword 235
Interfaces, interface constraints 296—297
Interfaces, interface inheritance 238
Interfaces, interfaces and access control 244
Interfaces, interfaces implementing other interfaces 237—239
Interfaces, interfaces with properties and events 240
Interfaces, interfaces with static fields and methods 245
Interfaces, literals in interfaces 246
Interfaces, members 236
Interfaces, methods implementing interface methods 236
Interfaces, multiple inheritance 235
Interfaces, multiple inheritance, of interfaces 211
Interfaces, name collisions 240—243
Interfaces, name collisions, disambiguating 241 242
Interfaces, name collisions, implementing inherited functions separately 243
Interfaces, object types 235
Interfaces, reference and value types compared 118
Interfaces, using collection class interfaces 305
Interfaces, using generic interface instead of template 314
Interfaces, using in Visual Basic 320
Interfaces, using new to implement interface method 238
Interfaces, using private method to implement 244
Interior pointers 155 339—340 373
Interior pointers, assigning value to 339
Interior pointers, compilation modes available for 363
Interior pointers,converting to pinned pointer 156
Interior pointers,navigating arrays using 99
Interior pointers,using interior pointers to traverse arrays 99
intermediate language see IL
Internal access control specifier 156
internal keyword 356
Internal modifier 156 157
Interoperability (interop) 317—354
Interoperability (interop), C++/CLI 317
Interoperability (interop), choice of compilation mode 322
Interoperability (interop), COM interop 318 328—329
Interoperability (interop), interior pointers 339—340
Interoperability (interop), interop with C++ exceptions 352—354
Interoperability (interop), interop with COM HRESULTs 354
Interoperability (interop), interop with other .NET languages 319—322
Interoperability (interop), interop with structured exceptions 348—351
Interoperability (interop), interop with Win32 error codes 351—352
Interoperability (interop), IntPtr struct 323
Interoperability (interop), invoking native functions in safe mode 322
Interoperability (interop), managed entry point 347—348
Interoperability (interop), managed templates and generics, compared 316
Interoperability (interop), Marshal class 328
Interoperability (interop), native C++ code 317
Interoperability (interop), native entry point 347—348
Interoperability (interop), Out attribute 272
Interoperability (interop), P/Invoke 317
Interoperability (interop), pinning pointers (pin_ptr) 340—341
Interoperability (interop), pure/safe modes 272
Interoperability (interop), recompiling native library as managed code 332—339
Interoperability (interop), types of interop 317—319
Interoperability (interop), using C++ source code 318
Interoperability (interop), using managed object in native class 342—343
Interoperability (interop), using native libraries with P/Invoke 322—328
Interoperability (interop), using native libraries without P/Invoke 329—332
Interoperability (interop), using native object in managed type 343—347
Interoperability (interop),cross-language interop 317 319—322
IntPtr struct, calling Win32 function in C++/CLI 323
IntPtr struct, ToPointer method 347
Intrinsics, pure mode 31
InvalidCastException 208 210 260
InvalidCastException, casting in inheritance hierarchies 233
InvalidCastException, generic/nongeneric container classes 304
InvalidCastException, trapping invalid cast exception 306
InvalidOperationException 249
Invariant 7
Invocation list 184 186
Invoke method, delegates 184
InvokeMember method, Type class 280
IOException type 88
Iostreams library 211
Isotope number 12
Isotopes 181
Iterators, traversing arrays 97
Java, interface inheritance model 241
JIT (just-in-time) compiler 3
KeyNotFoundException 309
KeyValuePair class 309
keywords 355 356 357
keywords, abstract 219 356
Keywords, based 363
keywords, class 285
keywords, delegate 356
Keywords, enum class 357
Keywords, enum struct 357
keywords, event 356
keywords, explicit 206
keywords, finally 263 356
Keywords, for each 357
Keywords, gcnew 355
Keywords, generic 285 355
Keywords, initonly 356
keywords, interface 236
Keywords, interface class 357
Keywords, interface struct 357
Keywords, internal 356
Keywords, literal 356
keywords, new 214—215
Keywords, nullptr 355
keywords, override 215—219 356
keywords, Private 156
Keywords, property 356
keywords, public 156
Keywords, ref 7
Keywords, ref class 309 357
Keywords, ref struct 357
Keywords, sealed 356
keywords, static 122
keywords, struct 357
Keywords, template 309
Keywords, typename 285
Keywords, value class 357
Keywords, value struct 357
Keywords, virtual 222
Keywords, where 356
Keywords, whitespaced keywords 7 357
Keywords,implements 235
Keywords,in 356
LastIndexOf method, Array class 105
Late binding, reflection dealing with unidentified types 282
LD compiler option, generating DLL 39
LD compiler option, reference classes 14
Length property, Array class 95 103
Length, arrays, GetLength method 104
Length, arrays, GetLongLength method 104
Length, arrays, LongLength property 103
Libraries, abstract classes and interfaces compared 220 236
Libraries, clr:pure mode 31
Libraries, mixing native and managed libraries 92
Libraries, recompiling native library as managed code 332—339
Libraries, using native libraries with P/Invoke 322—328
Libraries, using native libraries without P/Invoke 329—332
|
|
|
Реклама |
|
|
|