|
C# typeof operator, 309
Callbacks. See events and delegates
CallingConvention property, 312
CanRead properties, 312
CanWrite properties, 312
Caption property, 20–21
Catch block, 69–70
Catch keyword, 67
CCW (COM callable wrapper), 59–61
CheckBox control, 205
Checked property, 184
ChildNodes property, 234
class constructors, 46
class destructors, 46
classes. See also specific classes
base, 41, 134
defined, 40
derived, 41, 134
special cases, 308
Class_Initialize event, 46
Class_Terminate methods, 50
Click event, 87, 184, 251
client-activated objects, 294
ClipRectangle property, 181
Close method, 52, 198
CoCreateInstance function, 57, 61
code
difficulty writing, 3, 13–16
groups, 76–78
managed, 16–18, 19
code access security, 19, 71–78
code-behind, 83
COM
controls, 176–179
functionality, 14, 55–60
interoperability
introduced, 16, 19, 55
.NET objects and COM, 59–61
problems, 14–15
threading and, 261–262
COM callable wrapper (CCW), 59–61
COM+, 62–65
Command object, 193, 207
common language runtime (CLR), 17–18, 19
communication
in heterogeneous environments, 281–282
in Microsoft-only environments, 281–282
CompareExchange method, 275
compatibility version, 35
configuration files, 288–290, 299–300
host, 295–296
remoting with, 288–290
configured assemblies, 37–38
connection, enhanced between .NET systems, 8
Connection object, 193, 197–201, 206, 208
Console.Write function, 28
Console.Write method, 24
ContextBoundObject class, 271–272
ContextMenu property, 184–185
controls. See COM, controls; Web Forms controls; Windows Forms controls
Convert.ChangeType method, 317
cookie (forms-based) authentication, 108–111
cooperative multitasking, 258–259. See also threads
CopyLocal property, 33
CreateFile function, 66
CreateGraphics method, 183
CreateWindow function, 66
CustomAttributes array, 311
|