|
Mail namespace (System::Web), 283
main function, 6
MainMenu class, 314
managed arrays, 216, 218–225
managed C++ exceptions, 186
managed classes, 90. See also classes
managed code, 268
inheritance in, 131. See also inheritance
operator overloading, 165
sealed classes, 144
unmanaged code vs., 507–511
managed exceptions. See exceptions
managed heap, 121
managed structs. See structures
manual memory allocation, 117–120, 215
marshaling, 518
Matches method (XPathNavigator), 438
Math::Abs method, 174
MaxDropDownItems property (ComboBox), 307
MaximizeBox property (Form), 293
MaxLength property (ComboBox), 307
MaxLength property (TextBoxBase), 310
member initialization lists, 99
MemberAccessException class, 187
memory
enumerations and, 163
leakage, 119, 215
management of. See garbage collection
MemoryStream class (System::Diagnostics), 279
MemoryStream class (System::IO), 380
Menu class (System::Windows::Forms), 289, 330
Menu property (Form), 293
MenuItem class, 314
menus in Windows Forms, 314–318
message loops, 291
Message property (Exception class), 191
MessageBox class (System::Windows::Forms), 289, 330
metadata, 271–273, 527–548
custom attributes
accessing, 545–547
class design criteria, 538
defining, 536–541
properties, 537
predefined attributes, 530–536
AssemblyInfo.cpp file, 530
classes for, 531–536
reflection to get attribute data, 542–547
methods, visibility of, 21
MFC (Microsoft Foundation Class) library, 287
Microsoft Intermediate Language (MSIL), 268
MinimizeBox property (Form), 293
mixed classes, 508
Modified property (TextBoxBase), 311
Module property (System::Type), 543
modulus assignment (%=) operator, 38
modulus (%) operator, 38, 169
MonthCalendar class (System::Windows::Forms), 330
more than. See greater than operators
Move method (Directory, File), 388–389
MoveNext method (IEnumerator), 224
MoveTo methods
DirectoryInfo class, 389
FileInfo class, 390
XmlTextReader class, 408, 414
XPathNavigator class, 438
MSIL (Microsoft Intermediate Language), 268
MTAThreadAttribute class, 532
multicast delegates, 253–256
MultiColumn property (ListBox), 306
multidimensional arrays, 212–213, 217
Multiline property (TextBoxBase), 311
multiplication operators, 37–38, 169
MultiSelect property (ListView), 341
multiway decision testing, 70–72
MustOverride keyword (Visual Basic), 141
|