1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616
|
<Type Name="ArrayList" FullName="System.Collections.ArrayList" FullNameSP="System_Collections_ArrayList" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public serializable ArrayList extends System.Object implements System.ICloneable, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList" />
<TypeSignature Language="C#" Value="public class ArrayList : ICloneable, System.Collections.IList" />
<MemberOfLibrary>BCL</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadingSafetyStatement>This class is safe for multiple readers and no concurrent writers.</ThreadingSafetyStatement>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Collections.IList</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.ICloneable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Reflection.DefaultMember("Item")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
<para> Implements a variable-size <see cref="T:System.Collections.IList" /> that uses an array of objects to store its elements.</para>
</summary>
<remarks>
<para>
<see cref="T:System.Collections.ArrayList" /> implements a variable-size <see cref="T:System.Collections.IList" /> that uses an array of
objects to store the elements. A <see cref="T:System.Collections.ArrayList" /> has a <see cref="P:System.Collections.ArrayList.Capacity" />,
which is the allocated length of the internal array. The total number of
elements contained by a list is its <see cref="P:System.Collections.ArrayList.Count" />. As elements are added to a list, its capacity
is automatically increased as required
by reallocating the internal array.</para>
</remarks>
<example>
<para> The following example shows how to create, initialize, and display the values of a <see cref="T:System.Collections.ArrayList" />.</para>
<code lang="C#">using System;
using System.Collections;
public class SamplesArrayList {
public static void Main() {
// Create and initialize a new ArrayList.
ArrayList myAL = new ArrayList();
myAL.Add("Hello");
myAL.Add("World");
myAL.Add("!");
// Display the properties and values of the ArrayList.
Console.WriteLine( "myAL" );
Console.WriteLine( "Count: {0}", myAL.Count );
Console.WriteLine( "Capacity: {0}", myAL.Capacity );
Console.Write( "Values:" );
PrintValues( myAL );
}
public static void PrintValues( IEnumerable myList ) {
IEnumerator myEnumerator = myList.GetEnumerator();
while ( myEnumerator.MoveNext() )
Console.Write( " {0}", myEnumerator.Current );
Console.WriteLine();
}
}
</code>
<para>The output is </para>
<para>
<c>
myAL</c>
</para>
<para>
<c>Count: 3 </c>
</para>
<para>
<c>Capacity: 16 </c>
</para>
<para>
<c>Values: Hello World !</c>
</para>
</example>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" />
<MemberSignature Language="C#" Value="public ArrayList ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>
<para> Constructs and initializes a new instance of the <see cref="T:System.Collections.ArrayList" /> class that is
empty and has the default initial <see cref="P:System.Collections.ArrayList.Capacity" />
.</para>
</summary>
<remarks>
<para> The default initial <see cref="P:System.Collections.ArrayList.Capacity" /> of a <see cref="T:System.Collections.ArrayList" />
is 16.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(class System.Collections.ICollection c)" />
<MemberSignature Language="C#" Value="public ArrayList (System.Collections.ICollection c);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="c" Type="System.Collections.ICollection" />
</Parameters>
<Docs>
<param name="c">The <see cref="T:System.Collections.ICollection" /> whose elements are copied to the new list.</param>
<summary>
<para> Constructs and initializes a new instance of the <see cref="T:System.Collections.ArrayList" /> class with the
elements from the specified <see cref="T:System.Collections.ICollection" />. The initial <see cref="P:System.Collections.ArrayList.Count" /> and <see cref="P:System.Collections.ArrayList.Capacity" /> of the new
list are
both equal to the number of elements in the specified collection.</para>
</summary>
<remarks>
<para>The elements in the new <see cref="T:System.Collections.ArrayList" /> instance are in the same order as
contained in
<paramref name="c" />.</para>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="c" /> is <see langword="null" />.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(int32 capacity)" />
<MemberSignature Language="C#" Value="public ArrayList (int capacity);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="capacity" Type="System.Int32" />
</Parameters>
<Docs>
<param name="capacity">A <see cref="T:System.Int32" /> that specifies the number of elements that the new instance is initially capable of storing.</param>
<summary>
<para> Constructs and initializes a new instance of the <see cref="T:System.Collections.ArrayList" /> class that is
empty and has the specified initial <see cref="P:System.Collections.ArrayList.Capacity" />
.</para>
</summary>
<remarks>
<para> If
<paramref name="capacity" /> is zero,
the <see cref="P:System.Collections.ArrayList.Capacity" />
of the current
instance is set to 16 when the first
element is added.</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="capacity" /> < 0.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Adapter">
<MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Collections.ArrayList Adapter(class System.Collections.IList list)" />
<MemberSignature Language="C#" Value="public static System.Collections.ArrayList Adapter (System.Collections.IList list);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.ArrayList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="list" Type="System.Collections.IList" />
</Parameters>
<Docs>
<param name="list">The <see cref="T:System.Collections.IList" /> to wrap. </param>
<summary>
<para>Creates a <see cref="T:System.Collections.ArrayList" /> that is a wrapper for the specified <see cref="T:System.Collections.IList" />.</para>
</summary>
<returns>
<para>The <see cref="T:System.Collections.ArrayList" /> wrapper for <paramref name="list" />.</para>
</returns>
<remarks>
<para>This method returns a <see cref="T:System.Collections.ArrayList" /> that contains a reference to
the <see cref="T:System.Collections.IList" /><paramref name="list" /> . Any modifications to the elements in either
the returned list or <paramref name="list" /> are reflected in the other.</para>
<para>
<block subset="none" type="note">The <see cref="T:System.Collections.ArrayList" /> class provides generic
<see cref="M:System.Collections.ArrayList.Reverse" />, <see cref="M:System.Collections.ArrayList.BinarySearch(System.Int32,System.Int32,System.Object,System.Collections.IComparer)" /> and <see cref="M:System.Collections.ArrayList.Sort" />
methods. This wrapper provides a means
to use those methods on <see cref="T:System.Collections.IList" /><paramref name="list" /> without implementing the methods for
the list. Performing these operations through the wrapper might be less
efficient than operations applied directly to the list.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="list" /> is <see langword="null" />.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Add">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 Add(object value)" />
<MemberSignature Language="C#" Value="public virtual int Add (object value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.Object" /> to be added to the end of the current instance.</param>
<summary>
<para>Adds the specified <see cref="T:System.Object" /> to the end of the current instance.</para>
</summary>
<returns>
<para>A <see cref="T:System.Int32" /> that specifies the index of the current instance at which <paramref name="value" /> has
been added.</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">As described above.</block>
</para>
</remarks>
<exception cref="T:System.NotSupportedException">
<para>The current instance is read-only or has a fixed size.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="AddRange">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void AddRange(class System.Collections.ICollection c)" />
<MemberSignature Language="C#" Value="public virtual void AddRange (System.Collections.ICollection c);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="c" Type="System.Collections.ICollection" />
</Parameters>
<Docs>
<param name="c">The <see cref="T:System.Collections.ICollection" /> whose elements are added to the end of the current instance.</param>
<summary>
<para>Adds the elements of the specified <see cref="T:System.Collections.ICollection" /> to the end of the current instance.</para>
</summary>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default"> If the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance plus the size of the collection being added is greater
than the <see cref="P:System.Collections.ArrayList.Capacity" /> of the current instance, the
capacity of the current instance is either doubled or increased
to the new <see cref="P:System.Collections.ArrayList.Count" />,
whichever is greater. The internal array is reallocated to accommodate the new
elements and the existing elements are copied to the new array before the new
elements are added.</block>
</para>
<para>
<block subset="none" type="note">For the default implementation, if the current
instance can accommodate the new elements
without increasing the <see cref="P:System.Collections.ArrayList.Capacity" />, this method is an
O(<paramref name="n" />) operation, where <paramref name="n" /> is the number of elements to be added.
If the capacity needs to be increased to accommodate the new elements, this
method becomes an O(<paramref name="n" />+<paramref name="m" />) operation, where <paramref name="n" /> is the
number of elements to be added and <paramref name="m" /> is <see cref="P:System.Collections.ArrayList.Count" />
.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="c" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<para>The current instance is read-only or has a fixed size.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="BinarySearch">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 BinarySearch(object value)" />
<MemberSignature Language="C#" Value="public virtual int BinarySearch (object value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.Object" /> for which to search.</param>
<summary>
<para>Searches the current instance for the specified <see cref="T:System.Object" />.</para>
</summary>
<returns>
<para>A <see cref="T:System.Int32" /> that
specifies the results of the search as follows:</para>
<list type="table">
<listheader>
<term>Return Value</term>
<description>Description</description>
</listheader>
<item>
<term> The index of <paramref name="value" /> in the current
instance.</term>
<description>
<paramref name="value" /> was found.</description>
</item>
<item>
<term> The
bitwise complement
of the index of the first element
that is greater than <paramref name="value" />.</term>
<description>
<paramref name="value" /> was not found, and at least one
element in the current instance is greater than
<paramref name="value" />.</description>
</item>
<item>
<term> The bitwise complement of the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</term>
<description>
<paramref name="value" /> was not found, and <paramref name="value" />
is greater than all elements in the current
instance.</description>
</item>
</list>
<para>
<block subset="none" type="note">If <paramref name="value" /> is not found and the current instance is already sorted, the
bitwise complement of the return value indicates the index in the current instance
where <paramref name="value" /> would be
found.</block>
</para>
</returns>
<remarks>
<para>This method performs a binary search.</para>
<para>
<block subset="none" type="note">A null reference can be compared with
any type; therefore, comparisons with a null reference do not generate
exceptions. A null reference evaluates to less than any non-null object, or
equal to another null reference, when the two are compared.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<block subset="none" type="default">
<para>This method uses <see cref="M:System.Array.BinarySearch(System.Array,System.Object)" qualify="true" /> to
search for <paramref name="value" />.</para>
<para>
<paramref name="value" /> is compared to elements in a binary search of the current instance until an
element with a value greater than or equal to <paramref name="value" /> is found. The
<see cref="T:System.IComparable" /> implementation of the element being compared
-- or of <paramref name="value" /> if the element being compared does not implement the
interface -- is used to make the comparison. If <paramref name="value" /> does not implement
the <see cref="T:System.IComparable" /> interface and is compared to an element
that does not implement the interface, <see cref="T:System.InvalidOperationException" /> is thrown. If the
current instance is not already sorted, correct results are not guaranteed.</para>
</block>
<para>
<block subset="none" type="note">For the default implementation, this method is an
O(log<subscript term="2" /><paramref name="n" />) operation where <paramref name="n" /> is equal to the <see cref="P:System.Collections.ArrayList.Count" /> of the
current instance.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="value" /> is not assignment-compatible with at least one element in the current instance.</para>
</exception>
<exception cref="T:System.InvalidOperationException">
<para> Both <paramref name="value" /> and at least one element involved in the search of the current instance do not implement the <see cref="T:System.IComparable" /> interface.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="BinarySearch">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 BinarySearch(object value, class System.Collections.IComparer comparer)" />
<MemberSignature Language="C#" Value="public virtual int BinarySearch (object value, System.Collections.IComparer comparer);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
<Parameter Name="comparer" Type="System.Collections.IComparer" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.Object" /> for which to search.</param>
<param name="comparer">
<para>The <see cref="T:System.Collections.IComparer" /> implementation to use when comparing elements. Specify <see langword="null" /> to use the <see cref="T:System.IComparable" /> implementation of each element.</para>
</param>
<summary>
<para>Searches the current instance for the specified <see cref="T:System.Object" /> using the
specified <see cref="T:System.Collections.IComparer" />
implementation.</para>
</summary>
<returns>
<para>A <see cref="T:System.Int32" /> that
specifies the results of the search as follows:</para>
<list type="table">
<listheader>
<term>Return Value</term>
<description>Description</description>
</listheader>
<item>
<term> The index of <paramref name="value" /> in the current
instance.</term>
<description>
<paramref name="value" /> was found.</description>
</item>
<item>
<term> The
bitwise
complement of the index of the first element
that is greater than <paramref name="value" />.</term>
<description>
<paramref name="value" /> was not found, and at least one
element in the current instance is greater than <paramref name="value" />.</description>
</item>
<item>
<term> The bitwise complement of the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</term>
<description>
<paramref name="value" /> was not found, and <paramref name="value" />
is greater than all elements in the current
instance.</description>
</item>
</list>
<para>
<block subset="none" type="note">If <paramref name="value" /> is not found and the current instance is already sorted, the
bitwise complement of the return value indicates the index in the current instance
where <paramref name="value" /> would be
found.</block>
</para>
</returns>
<remarks>
<para>This method performs a binary search.</para>
<para>
<block subset="none" type="note">A null reference can be compared with
any type; therefore, comparisons with a null reference do not generate
exceptions. A null reference evaluates to less than any non-null object, or
equal to another null reference, when the two are compared.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<block subset="none" type="default">
<para>This method uses <see cref="M:System.Array.BinarySearch(System.Array,System.Object)" qualify="true" /> to
search for <paramref name="value" />.</para>
<para>
<paramref name="value" /> is compared to elements in a binary search of the current instance until an
element with a value greater than or equal to <paramref name="value" /> is found. If
<paramref name="comparer" /> is <see langword="null" />, the <see cref="T:System.IComparable" /> implementation of the element being compared
-- or of <paramref name="value" /> if the element being compared does not implement the
interface -- is used to make the comparison. If <paramref name="value" /> does not implement
the <see cref="T:System.IComparable" /> interface and is compared to an element
that does not implement the interface, <see cref="T:System.InvalidOperationException" />
is thrown. If the current instance is not already sorted, correct
results are not guaranteed.</para>
</block>
<para>
<block subset="none" type="note">For the default implementation, this method is an
O(log<subscript term="2" /><paramref name="n" />) operation where <paramref name="n" /> is equal to the <see cref="P:System.Collections.ArrayList.Count" /> of the
current instance.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="comparer" /> is <see langword="null" />, and <paramref name="value" /> is not assignment-compatible with at least one element in the current instance.</para>
</exception>
<exception cref="T:System.InvalidOperationException">
<para>
<paramref name="comparer" /> is <see langword="null" />, and both <paramref name="value" /> and at least one element involved in the search in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="BinarySearch">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 BinarySearch(int32 index, int32 count, object value, class System.Collections.IComparer comparer)" />
<MemberSignature Language="C#" Value="public virtual int BinarySearch (int index, int count, object value, System.Collections.IComparer comparer);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
<Parameter Name="value" Type="System.Object" />
<Parameter Name="comparer" Type="System.Collections.IComparer" />
</Parameters>
<Docs>
<param name="index">
<para>A <see cref="T:System.Int32" /> that specifies the index at which searching starts. This value is greater than or equal to zero, and less than the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para>
</param>
<param name="count">A <see cref="T:System.Int32" /> that specifies the number of elements to search, beginning with <paramref name="index" /> . This value is greater than or equal to zero, and less than or equal to the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="index" />.</param>
<param name="value">The <see cref="T:System.Object" /> for which to search.</param>
<param name="comparer">The <see cref="T:System.Collections.IComparer" /> implementation to use when comparing elements. Specify <see langword="null" /> to use the <see cref="T:System.IComparable" /> implementation of each element.</param>
<summary>
<para>Searches the specified range in the current instance
for the specified <see cref="T:System.Object" /> using the specified <see cref="T:System.Collections.IComparer" />
implementation.</para>
</summary>
<returns>
<para>A <see cref="T:System.Int32" /> that
specifies the results of the search as follows:</para>
<list type="table">
<listheader>
<term>Return Value</term>
<description>Description</description>
</listheader>
<item>
<term> The index of <paramref name="value" /> in the current
instance.</term>
<description>
<paramref name="value" /> was found.</description>
</item>
<item>
<term> The
bitwise complement
of the index of the first element that is
greater than <paramref name="value" />.</term>
<description>
<paramref name="value" /> was not found, and at
least one element in the range of <paramref name="index" /> to <paramref name="index" /> +
<paramref name="count" /> - 1 in the current instance is greater than
<paramref name="value" />.</description>
</item>
<item>
<term> The bitwise complement of (<paramref name="index" /> +
<paramref name="count" />)</term>
<description>
<paramref name="value" /> was not found, and
<paramref name="value" /> is greater than all elements in the range of
<paramref name="index" /> to <paramref name="index" /> + <paramref name="count" /> - 1 in the current
instance.</description>
</item>
</list>
<para>
<block subset="none" type="note">If <paramref name="value" /> is not found and the current instance is already sorted, the
bitwise complement of the return value indicates the index in the current instance
where <paramref name="value" /> would be found in the range of <paramref name="index" /> to
<paramref name="index" /> + <paramref name="count" /> - 1.</block>
</para>
</returns>
<remarks>
<para>This method performs a binary search.</para>
<para>
<block subset="none" type="note">A null reference can be compared with
any type; therefore, comparisons with a null reference do not generate
exceptions. A null reference evaluates to less than any non-null object, or
equal to another null reference, when the two are compared.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<block subset="none" type="default">
<para>This method uses <see cref="M:System.Array.BinarySearch(System.Array,System.Object)" qualify="true" /> to
search for <paramref name="value" />
.</para>
<para>
<paramref name="value" /> is compared to elements in a binary search of the range of <paramref name="index" /> to
<paramref name="index" /> + <paramref name="count " /> - 1 in the current instance until an element
with a value greater than or equal to <paramref name="value" /> is found or the end of the
range is reached. If <paramref name="comparer" /> is <see langword="null" /> , the <see cref="T:System.IComparable" />
implementation of the element being compared -- or of <paramref name="value" /> if the element being compared does
not implement the interface -- is used to make the comparison. If
<paramref name="value" /> does not implement the <see cref="T:System.IComparable" /> interface and is compared to an element
that does not implement the interface, <see cref="T:System.InvalidOperationException" />
is thrown. If the current instance is not already sorted,
correct results are not guaranteed.</para>
</block>
<para>
<block subset="none" type="note">For the default implementation, this method is an
O(log<subscript term="2" /><paramref name="count" />) operation.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentException">
<para>
<see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> < <paramref name="count" />.</para>
<para>-or-</para>
<para>
<paramref name="comparer" /> is <see langword="null" />, and <paramref name="value" /> is not assignment-compatible with at least one element in the current instance.</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0.</para>
<para>-or-</para>
<paramref name="count" /> < 0.</exception>
<exception cref="T:System.InvalidOperationException">
<para>
<paramref name="comparer" /> is <see langword="null" />, and both <paramref name="value" /> and at least one element involved in the search of the current instance do not implement the <see cref="T:System.IComparable" /> interface.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Capacity">
<MemberSignature Language="ILASM" Value=".property int32 Capacity { public hidebysig virtual specialname int32 get_Capacity() public hidebysig virtual specialname void set_Capacity(int32 value) }" />
<MemberSignature Language="C#" Value="public virtual int Capacity { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the number of elements that the current instance is
capable of storing.</para>
</summary>
<value>
<para> A <see cref="T:System.Int32" /> that specifies the number of elements that the current instance
is capable of storing.</para>
</value>
<remarks>
<para>
<block subset="none" type="note">The <see cref="P:System.Collections.ArrayList.Capacity" /> of a <see cref="T:System.Collections.ArrayList" /> is the size of
the internal array used to hold the elements of that list. When it is set, the
internal array is reallocated to the specified value.</block>
</para>
<para>
<block subset="none" type="behaviors">As
described above.</block>
</para>
<block subset="none" type="default">
<para>If an attempt is made to set <see cref="P:System.Collections.ArrayList.Capacity" /> to a value less or equal to 0, it
is set
to the default capacity of 16.</para>
<para>If the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance exceeds the <see cref="P:System.Collections.ArrayList.Capacity" /> of the current instance while
adding elements to the current instance, the capacity of the list is doubled by
automatically reallocating the internal array before copying the old elements
and adding the new elements.</para>
</block>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<see cref="P:System.Collections.ArrayList.Capacity" /> is set to a value that is less than the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Clear">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Clear()" />
<MemberSignature Language="C#" Value="public virtual void Clear ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Sets the elements in the current instance to zero,
<see langword="false" />, or <see langword="null" />, depending upon the element type.</para>
</summary>
<remarks>
<para>
<block subset="none" type="note">
This method is implemented to support the <see cref="T:System.Collections.IList" /> interface.
</block>
</para>
<para>
<block subset="none" type="behaviors">
Reference-type elements are set to <see langword="null" />. Value-type elements
are set to zero, except for <see cref="T:System.Boolean" /> elements, which are set to <see langword="false" />.
</block>
</para>
<para>
<block subset="none" type="default">
This method uses <see cref="M:System.Array.Clear(System.Array,System.Int32,System.Int32)" qualify="true" /> to reset the values of the current instance. <see cref="P:System.Collections.ArrayList.Count" /> is set to zero. <see cref="P:System.Collections.ArrayList.Capacity" />
is not changed.
</block>
</para>
<para>
<block subset="none" type="usage">
To reset the <see cref="P:System.Collections.ArrayList.Capacity" /> of the current instance, call <see cref="M:System.Collections.ArrayList.TrimToSize" /> or set the <see cref="P:System.Collections.ArrayList.Capacity" /> property directly.
</block>
</para>
</remarks>
<exception cref="T:System.NotSupportedException">
<para>The current instance is read-only or has a fixed size.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Clone">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual object Clone()" />
<MemberSignature Language="C#" Value="public virtual object Clone ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Returns a <see cref="T:System.Object" /> that is a copy of the current instance.</para>
</summary>
<returns>
<para>A <see cref="T:System.Object" /> that is a copy of the current
instance.</para>
</returns>
<remarks>
<para>
<block subset="none" type="note">This method is implemented to support the <see cref="T:System.ICloneable" />
interface.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<block subset="none" type="default">This method uses
<see cref="M:System.Array.Copy(System.Array,System.Array,System.Int32)" qualify="true" /> to clone the current
instance.</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Contains">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual bool Contains(object item)" />
<MemberSignature Language="C#" Value="public virtual bool Contains (object value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.Object" /> to locate in the current instance.</param>
<summary>
<para>Determines whether the specified <see cref="T:System.Object" /> is contained in the current
instance.</para>
</summary>
<returns>
<para>
<see langword="true" /> if <paramref name="item" /> is contained in the current instance;
otherwise, <see langword="false" />.</para>
</returns>
<remarks>
<para>
<block subset="none" type="note">This method is implemented to support
the <see cref="T:System.Collections.IList" /> interface.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method determines equality
by calling the <see cref="M:System.Object.Equals(System.Object)" qualify="true" /> implementation of the
type of <paramref name="item" />.</block>
</para>
<para>
<block subset="none" type="note">For the default implementation, this method is an O(<paramref name="n" />)
operation where <paramref name="n" /> is equal to the <see cref="P:System.Collections.ArrayList.Count" /> of the
current instance. If the current instance is sorted, it is more efficient
to call <see cref="M:System.Collections.ArrayList.BinarySearch(System.Int32,System.Int32,System.Object,System.Collections.IComparer)" /> method.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="CopyTo">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void CopyTo(class System.Array array)" />
<MemberSignature Language="C#" Value="public virtual void CopyTo (Array array);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="array" Type="System.Array" />
</Parameters>
<Docs>
<param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from the current instance. The <see cref="P:System.Array.Length" qualify="true" /> of this array is greater than or equal to the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</param>
<summary>
<para> Copies the elements from the current instance to the specified <see cref="T:System.Array" />.</para>
</summary>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method uses <see cref="M:System.Array.Copy(System.Array,System.Array,System.Int32)" qualify="true" /> to copy the
current instance to <paramref name="array" />.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="array" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="array" /> has more than one dimension.</para>
<para>-or-</para>
<para>
<see cref="P:System.Collections.ArrayList.Count" /> of the current instance > <paramref name="array" />.Length.</para>
</exception>
<exception cref="T:System.InvalidCastException">At least one element in the current instance is not assignment-compatible with the type of <paramref name="array" />.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="CopyTo">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void CopyTo(class System.Array array, int32 arrayIndex)" />
<MemberSignature Language="C#" Value="public virtual void CopyTo (Array array, int index);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="array" Type="System.Array" />
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from the current instance. The <see cref="P:System.Array.Length" qualify="true" /> of this array is greater than or equal to the sum of <paramref name="arrayIndex" /> and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance. </param>
<param name="arrayIndex">A <see cref="T:System.Int32" /> that specifies the first index of <paramref name="array" /> to which the elements of the current instance are copied. This value is greater than or equal to zero, and less than <paramref name="array" />.Length. </param>
<param name="index">To be added.</param>
<summary>
<para> Copies the elements from the current instance to the
specified <see cref="T:System.Array" />
, starting at the specified index of the array.</para>
</summary>
<remarks>
<para>
<block subset="none" type="note">This method is implemented to support
the <see cref="T:System.Collections.IList" /> interface.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method uses <see cref="M:System.Array.Copy(System.Array,System.Array,System.Int32)" qualify="true" /> to copy the
current instance to <paramref name="array" />.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="array" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="arrayIndex" /> < 0.</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="array" /> has more than one dimension.</para>
<para>-or-</para>
<para>
<paramref name="arrayIndex" /> >= <paramref name="array" />.Length.</para>
<para>-or-</para>
<para>
<paramref name="arrayIndex" /> + <see cref="P:System.Collections.ArrayList.Count" /> of the current instance > <paramref name="array" />.Length.</para>
</exception>
<exception cref="T:System.InvalidCastException">At least one element in the current instance is not assignment-compatible with the type of <paramref name="array" />.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="CopyTo">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void CopyTo(int32 index, class System.Array array, int32 arrayIndex, int32 count)" />
<MemberSignature Language="C#" Value="public virtual void CopyTo (int index, Array array, int arrayIndex, int count);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="array" Type="System.Array" />
<Parameter Name="arrayIndex" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">A <see cref="T:System.Int32" /> that specifies the index in the current instance at which copying begins. This value is greater than or equal to 0, and less than the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</param>
<param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from the current instance. </param>
<param name="arrayIndex">A <see cref="T:System.Int32" /> that specifies the first index of <paramref name="array" /> to which the elements of the current instance are copied. This value is greater than or equal to zero, and less than <paramref name="array" />.Length minus <paramref name="count" />. </param>
<param name="count">A <see cref="T:System.Int32" /> that specifies the number of elements to copy. This value is greater than or equal to 0, and less than both the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="index" /> and <paramref name="array" />.Length minus <paramref name="arrayIndex" />.</param>
<summary>
<para> Copies the specified range of elements from the current instance to the specified <see cref="T:System.Array" />, starting at the specified index of the array.</para>
</summary>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method uses <see cref="M:System.Array.Copy(System.Array,System.Array,System.Int32)" qualify="true" /> to copy the
current instance to <paramref name=" array" />.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="array" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0. </para>
<para>-or-</para>
<para>
<paramref name="arrayIndex" /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="count" /> < 0. </para>
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="array" /> has more than one dimension.</para>
<para>-or-</para>
<para>
<paramref name="index" /> >= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance .</para>
<para>-or-</para>
<para>
<paramref name="count" /> >= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" />.</para>
<para>-or-</para>
<para>
<paramref name="count" /> >= <paramref name="array" />.Length - <paramref name="arrayIndex" />.</para>
</exception>
<exception cref="T:System.InvalidCastException">At least one element of the current instance is not assignment-compatible with the type of <paramref name="array" />.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Count">
<MemberSignature Language="ILASM" Value=".property int32 Count { public hidebysig virtual specialname int32 get_Count() }" />
<MemberSignature Language="C#" Value="public virtual int Count { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets the number of elements contained in the
current instance.</para>
</summary>
<value>
<para> A <see cref="T:System.Int32" /> that specifies the number of elements contained in the current
instance.</para>
</value>
<remarks>
<para>This property is read-only.</para>
<para>
<see cref="P:System.Collections.ArrayList.Count" /> is the number of elements that are
contained by the <see cref="T:System.Collections.ArrayList" />. The count of a list is always less than or
equal to <see cref="P:System.Collections.ArrayList.Capacity" /> of that list. </para>
<para>
<block subset="none" type="note">This property is implemented to support
the <see cref="T:System.Collections.IList" /> interface.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<block subset="none" type="default">If the <see cref="P:System.Collections.ArrayList.Count" /> exceeds the <see cref="P:System.Collections.ArrayList.Capacity" /> of the current instance while
adding elements to the current instance, the capacity of the list is doubled by
automatically reallocating the internal array before copying the old elements
and adding the new elements.</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="FixedSize">
<MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Collections.ArrayList FixedSize(class System.Collections.ArrayList list)" />
<MemberSignature Language="C#" Value="public static System.Collections.ArrayList FixedSize (System.Collections.ArrayList arrayList);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.ArrayList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="arrayList" Type="System.Collections.ArrayList" />
</Parameters>
<Docs>
<param name="arrayList">The <see cref="T:System.Collections.ArrayList" /> to wrap.</param>
<summary>
<para>Returns a <see cref="T:System.Collections.ArrayList" />
wrapper with a fixed size.</para>
</summary>
<returns>
<para>A <see cref="T:System.Collections.ArrayList" />
wrapper with a fixed size.</para>
</returns>
<remarks>
<para>This method returns a fixed-size <see cref="T:System.Collections.ArrayList" /> that contains a reference to <paramref name="list" />. Operations that attempt to add to or delete from
this new list will throw <see cref="T:System.NotSupportedException" />. Any modifications of
the elements in either the returned list or <paramref name="list" /> will be reflected in
the other. </para>
<block subset="none" type="note">
<para>The <see cref="P:System.Collections.ArrayList.IsFixedSize" /> property of the new list is
<see langword="true" />. Every other property value of the new list
references the same property value of <paramref name="list" />. </para>
<para>Adding to or removing from <paramref name="list" /> will not throw an exception and is reflected in the returned list.</para>
<para>By performing operations on the new list, this wrapper can be used to prevent
additions to and deletions from the <see cref="T:System.Collections.ArrayList" /><paramref name="list" />. The elements
of the list can still be modified by operations
on the returned list.</para>
</block>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="list" /> is <see langword="null" />.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="FixedSize">
<MemberSignature Language="C#" Value="public static System.Collections.IList FixedSize (System.Collections.IList list);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.IList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="list" Type="System.Collections.IList" />
</Parameters>
<Docs>
<param name="list">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GetEnumerator">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Collections.IEnumerator GetEnumerator()" />
<MemberSignature Language="C#" Value="public virtual System.Collections.IEnumerator GetEnumerator ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.IEnumerator</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Returns a <see cref="T:System.Collections.IEnumerator" /> for the current
instance.</para>
</summary>
<returns>
<para>A <see cref="T:System.Collections.IEnumerator" /> for the current instance.</para>
</returns>
<remarks>
<para> If the the current instance is modified while an enumeration is in progress, a call to <see cref="M:System.Collections.IEnumerator.MoveNext" /> or <see cref="P:System.Collections.IEnumerator.Reset" /> throws <see cref="T:System.InvalidOperationException" /> . </para>
<block subset="none" type="note">
<para> For detailed information regarding the use of an enumerator, see
<see cref="T:System.Collections.IEnumerator" />.</para>
<para>This property is implemented to support the <see cref="T:System.Collections.IList" /> interface.</para>
</block>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GetEnumerator">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Collections.IEnumerator GetEnumerator(int32 index, int32 count)" />
<MemberSignature Language="C#" Value="public virtual System.Collections.IEnumerator GetEnumerator (int index, int count);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.IEnumerator</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">A <see cref="T:System.Int32" /> that specifies the index of the current instance before which the enumerator is initially placed. This value is greater than or equal to 0, and less than the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</param>
<param name="count">A <see cref="T:System.Int32" /> that specifies the number of elements, beginning with <paramref name="index" /> , in the current instance over which the enumerator can iterate. This value is greater than or equal to 0, and less than or equal to the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="index" /> .</param>
<summary>
<para>Returns a <see cref="T:System.Collections.IEnumerator" /> for the specified section of the
current instance.</para>
</summary>
<returns>
<para>A <see cref="T:System.Collections.IEnumerator" /> that can iterate over the range
of <paramref name="index" /> to <paramref name="index" /> + <paramref name="count" /> - 1 in the current
instance.</para>
</returns>
<remarks>
<para> The enumerator
only enumerates over the range of the current instance from <paramref name="index" /> to
<paramref name="index" /> + <paramref name="count" /> - 1. If the current instance is modified while an enumeration is in progress, a call to <see cref="M:System.Collections.IEnumerator.MoveNext" /> or <see cref="P:System.Collections.IEnumerator.Reset" /> will throw <see cref="T:System.InvalidOperationException" /> . </para>
<para>
<block subset="none" type="note">For detailed information regarding the
use of an enumerator, see <see cref="T:System.Collections.IEnumerator" />.</block>
</para>
<para>
<block subset="none" type="behaviors">As described above.</block>
</para>
<block subset="none" type="default">
<para>The enumerator is initially placed just before the
element at position <paramref name="index" /> in the current instance. A call to
<see cref="M:System.Collections.IEnumerator.Reset" /> returns the enumerator to this position.
</para>
<para>If the elements of the current instance have not been modified while the
enumeration was in progress, a call to <see cref="M:System.Collections.IEnumerator.MoveNext" />
either returns <see langword="true" /> and advances the enumerator one element in
the current instance, or returns <see langword="false" /> indicating the enumerator is at the end of the specified range. </para>
</block>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0.</para>
<para> -or-</para>
<para>
<paramref name="count" /> < 0.</para>
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="index" /> + <paramref name="count" /> > <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GetRange">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Collections.ArrayList GetRange(int32 index, int32 count)" />
<MemberSignature Language="C#" Value="public virtual System.Collections.ArrayList GetRange (int index, int count);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.ArrayList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">A <see cref="T:System.Int32" /> that specifies the zero-based index in the current instance at which the range starts. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="count" /> , inclusive.</param>
<param name="count">A <see cref="T:System.Int32" /> that specifies the number of elements in the range. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="index" /> , inclusive.</param>
<summary>
<para>Returns a <see cref="T:System.Collections.ArrayList" /> that represents the specified range of the
current instance.</para>
</summary>
<returns>
<para> A <see cref="T:System.Collections.ArrayList" /> that
represents the range in the current instance from <paramref name="index" /> to
<paramref name="index" /> + <paramref name="count" /> - 1.</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method does not create copies of the
elements: the new <see cref="T:System.Collections.ArrayList" /> instance is a
view window into the source list. Therefore, all subsequent changes to the
source list must be done through this
view window <see cref="T:System.Collections.ArrayList" /> . If changes are made directly to
the source list, the view window list is invalidated
and any operations on it throw <see cref="T:System.InvalidOperationException" />
.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="count" /> < 0.</para>
</exception>
<exception cref="T:System.ArgumentException">
<para>
<see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> < <paramref name="count" />. </para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="IndexOf">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 IndexOf(object value)" />
<MemberSignature Language="C#" Value="public virtual int IndexOf (object value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.Object" /> to locate in the current instance.</param>
<summary>
<para>Searches the current instance, returning the index of
the first occurrence of the specified <see cref="T:System.Object" />.
</para>
</summary>
<returns>
<para>A <see cref="T:System.Int32" /> that specifies the index of the first occurrence of <paramref name=" value" /> in the current instance, if found;
otherwise, -1.</para>
<para>
<block subset="none" type="note">This provides the caller with a standard
code for a failed search.</block>
</para>
</returns>
<remarks>
<para>
<block subset="none" type="note">This method is implemented to support
the <see cref="T:System.Collections.IList" /> interface.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method uses
<see cref="M:System.Array.IndexOf(System.Array,System.Object)" qualify="true" />
to search the current instance for <paramref name="value" /> .</block>
</para>
<para>
<block subset="none" type="note">For the default implementation, this method performs a linear search. On average,
this is an O(<paramref name="n" />/2) operation, where <paramref name="n" /> is <paramref name="count" />. The longest
search is an O(<paramref name="n" />) operation.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="IndexOf">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 IndexOf(object value, int32 startIndex)" />
<MemberSignature Language="C#" Value="public virtual int IndexOf (object value, int startIndex);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
<Parameter Name="startIndex" Type="System.Int32" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.Object" /> to locate in current instance.</param>
<param name="startIndex">A <see cref="T:System.Int32" /> that specifies the index at which searching begins. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus 1, inclusive.</param>
<summary>
<para>Searches the current instance, returning the index of
the first occurrence of the specified <see cref="T:System.Object" />
in the specified range.</para>
</summary>
<returns>
<para>A <see cref="T:System.Int32" /> that specifies the index of the first occurrence of <paramref name="value" /> in the current
instance, if found within the range <paramref name=" startIndex" />
to the end of the current instance; otherwise, -1.</para>
<para>
<block subset="none" type="note">This provides the caller with a standard
code for a failed search.</block>
</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method uses
<see cref="M:System.Array.IndexOf(System.Array,System.Object)" qualify="true" />
to search the current instance for <paramref name="value" />.</block>
</para>
<para>
<block subset="none" type="note"> For the default implementation, this method performs a linear search. On average,
this is an O(<paramref name="n" />/2) operation, where <paramref name="n" /> is <paramref name="count" />. The longest
search is an O(<paramref name="n" />) operation.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="startIndex" /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="startIndex" /> >= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="IndexOf">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 IndexOf(object value, int32 startIndex, int32 count)" />
<MemberSignature Language="C#" Value="public virtual int IndexOf (object value, int startIndex, int count);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
<Parameter Name="startIndex" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.Object" /> to locate in current instance.</param>
<param name="startIndex">A <see cref="T:System.Int32" /> that specifies the index at which to begin searching. This value is greater than or equal to zero, and less than the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</param>
<param name="count">A <see cref="T:System.Int32" /> that specifies the number of elements to search. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="startIndex" /> , inclusive.</param>
<summary>
<para>Searches the current instance, returning the index of
the first occurrence of the specified <see cref="T:System.Object" />
in the specified range.</para>
</summary>
<returns>
<para>A <see cref="T:System.Int32" /> that specifies the index of the first occurrence of <paramref name="value" /> in
the current instance, within the range <paramref name="startIndex " />to
<paramref name="startIndex" /> + <paramref name=" count" /> - 1, if found; otherwise, -1.</para>
<para>
<block subset="none" type="note">This provides the caller with a standard
code for a failed search.</block>
</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method uses
<see cref="M:System.Array.IndexOf(System.Array,System.Object)" qualify="true" />
to search the current instance for <paramref name="value" />.</block>
</para>
<para>
<block subset="none" type="note">For the default implementation, this method performs a linear search. On average, this is an O(<paramref name="n" />/2) operation, where <paramref name="n" /> is <paramref name="count" />.
The longest search is an O(<paramref name="n" />) operation.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="startIndex" />>= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para>
<para>-or-</para>
<para>
<paramref name="count" /> < 0.</para>
<para> -or-</para>
<para>
<paramref name="count" /> ><see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="startIndex" />.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Insert">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Insert(int32 index, object value)" />
<MemberSignature Language="C#" Value="public virtual void Insert (int index, object value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="index">A <see cref="T:System.Int32" /> that specifies the index in the current instance at which <paramref name="value" /> is inserted. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance, inclusive.</param>
<param name="value">
<para>The <see cref="T:System.Object" /> to insert.</para>
</param>
<summary>
<para>Inserts the specified <see cref="T:System.Object" /> into the current
instance
at the specified index.</para>
</summary>
<remarks>
<para>
<block subset="none" type="note">This method is implemented to support
the <see cref="T:System.Collections.IList" /> interface.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">If the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance is equal to the <see cref="P:System.Collections.ArrayList.Capacity" /> of the current instance, the
capacity of the list is doubled by automatically reallocating the internal array
before the new element is inserted. If <paramref name="index" />
is equal to the <see cref="P:System.Collections.ArrayList.Count" /> of the
current instance, <paramref name="value" /> is added to the end of the
current instance.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="index" /> > <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para>
</exception>
<exception cref="T:System.NotSupportedException">
<para>The current instance is read-only or has a fixed size.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="InsertRange">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void InsertRange(int32 index, class System.Collections.ICollection c)" />
<MemberSignature Language="C#" Value="public virtual void InsertRange (int index, System.Collections.ICollection c);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="c" Type="System.Collections.ICollection" />
</Parameters>
<Docs>
<param name="index">A <see cref="T:System.Int32" /> that specifies the index in the current instance at which the new elements are inserted. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance, inclusive.</param>
<param name="c">The <see cref="T:System.Collections.ICollection" /> whose elements are inserted into the current instance.</param>
<summary>
<para>Inserts the elements of the specified <see cref="T:System.Collections.ICollection" /> at the specified
index of the current instance.</para>
</summary>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<block subset="none" type="default">
<para> If the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance plus the
size of <see cref="T:System.Collections.ICollection" /><paramref name="c " /> is greater
than the <see cref="P:System.Collections.ArrayList.Capacity" /> of
the current instance, the capacity of the current instance is either
doubled or increased to the new count, whichever yields a greater capacity. The internal array
is reallocated to accommodate the new elements. If <paramref name="index" /> is equal to the <see cref="P:System.Collections.ArrayList.Count" /> of the current
instance, the elements of <paramref name="c" /> are added to the end of the current
instance.</para>
<para>The order of the elements in the <see cref="T:System.Collections.ICollection" /><paramref name="c" /> is preserved in the current
instance.</para>
</block>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="c" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0.</para>
<para>
<paramref name="index" /> > <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para>
</exception>
<exception cref="T:System.NotSupportedException">
<para>The current instance is read-only or has a fixed size.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="IsFixedSize">
<MemberSignature Language="ILASM" Value=".property bool IsFixedSize { public hidebysig virtual specialname bool get_IsFixedSize() }" />
<MemberSignature Language="C#" Value="public virtual bool IsFixedSize { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Implemented to support the <see cref="T:System.Collections.IList" /> interface. [Note: For more information, see <see cref="M:System.Collections.IList.IsFixedSize" />.]</summary>
<value>
<para>
<see langword="true" /> if the
<see cref="P:System.Collections.ArrayList.Capacity" /> of the current instance cannot be changed;
otherwise, <see langword="false" />. </para>
</value>
<remarks>
<para>This property is read-only.</para>
<block subset="none" type="note">
<para>Elements cannot be added or removed from a <see cref="T:System.Collections.ArrayList" /> with a fixed size, while
existing elements can be modified.</para>
<para>An attempt to add to or remove from a fixed size ArrayList will throw <see cref="T:System.NotSupportedException" />. However, the size of a fixed size ArrayList will change to reflect the additions or removals from the ArrayList that was used to create the fixed size ArrayList.</para>
<para>This property is implemented to support the <see cref="T:System.Collections.IList" /> interface.</para>
</block>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">The default value for this
property is <see langword="false" />.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="IsReadOnly">
<MemberSignature Language="ILASM" Value=".property bool IsReadOnly { public hidebysig virtual specialname bool get_IsReadOnly() }" />
<MemberSignature Language="C#" Value="public virtual bool IsReadOnly { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Implemented to support the <see cref="T:System.Collections.IList" /> interface. [Note: For more information, see <see cref="M:System.Collections.IList.IsReadOnly" />.]</summary>
<value>
<para>
<see langword="true" /> if the
current instance is read-only; otherwise,
<see langword="false" />.</para>
</value>
<remarks>
<para>This property is read-only.</para>
<block subset="none" type="note">
<para>The elements of a <see cref="T:System.Collections.ArrayList" /> that is read-only cannot be modified, nor
can elements be added to or removed from that list.</para>
<para>An attempt to add to, remove from, or modify a read-only ArrayList will throw <see cref="T:System.NotSupportedException" />. However, changes to the ArrayList that was used to create the read-only ArrayList are reflected in the read-only ArrayList.</para>
<para>This property is implemented to support the <see cref="T:System.Collections.IList" /> interface.</para>
</block>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">The default value of this
property is <see langword="false" />.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="IsSynchronized">
<MemberSignature Language="ILASM" Value=".property bool IsSynchronized { public hidebysig virtual specialname bool get_IsSynchronized() }" />
<MemberSignature Language="C#" Value="public virtual bool IsSynchronized { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Implemented to support the <see cref="T:System.Collections.ICollection" /> interface. [Note: For more information, see <see cref="M:System.Collections.ICollection.IsSynchronized" />.]</summary>
<value>
<para>
<see langword="true" /> if access to
the current instance is synchronized
(thread-safe); otherwise, <see langword="false" />.</para>
</value>
<remarks>
<para>This property is read-only.</para>
<para>To guarantee the thread safety of the <see cref="T:System.Collections.ArrayList" />, all operations must be
done through the wrapper returned by the <see cref="M:System.Collections.ArrayList.Synchronized(System.Collections.IList)" /> method.</para>
<para>
<block subset="none" type="note">This property is implemented to support
the <see cref="T:System.Collections.IList" /> interface.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">The default value of this
property is <see langword="false" />.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Item">
<MemberSignature Language="ILASM" Value=".property object Item[int32 index] { public hidebysig virtual specialname object get_Item(int32 index) public hidebysig virtual specialname void set_Item(int32 index, object value) }" />
<MemberSignature Language="C#" Value="public virtual object this[int index] { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">A <see cref="T:System.Int32" /> that specifies the zero-based index of the element in the current instance to get or set. This value is greater than or equal to 0, and less than the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</param>
<summary>
<para> Gets or sets the element at the specified index of the current instance.</para>
</summary>
<value>
<para>The element at the specified index of the current instance.</para>
</value>
<remarks>
<block subset="none" type="note">
<para>This property provides the ability to access a specific element in the
collection by using the following syntax: <c>myCollection[index]</c> .</para>
<para>This property is implemented to support the <see cref="T:System.Collections.IList" /> interface.</para>
</block>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="index" /> >= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="LastIndexOf">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 LastIndexOf(object value)" />
<MemberSignature Language="C#" Value="public virtual int LastIndexOf (object value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.Object" /> to locate in the current instance.</param>
<summary>
<para>Searches the current instance, returning the index of
the last occurrence of the specified <see cref="T:System.Object" />.
</para>
</summary>
<returns>
<para>A <see cref="T:System.Int32" /> that specifies the index of the last occurrence of <paramref name=" value" /> in the current
instance, if found; otherwise, -1.</para>
<para>
<block subset="none" type="note">This provides the caller with a standard
code for a failed search.</block>
</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">
<para>The ArrayList is searched backward starting at the last element and ending at the first element.</para>
<para>This method uses
<see cref="M:System.Array.LastIndexOf(System.Array,System.Object)" qualify="true" /> to search the current instance for
<paramref name="value" />.</para>
</block>
</para>
<para>
<block subset="none" type="note">For the default implementation, this method performs a linear search. On average, this is an
O(<paramref name="n" />/2) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" /> of the current instance. The longest search is
an O(<paramref name="n" />)
operation.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="LastIndexOf">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 LastIndexOf(object value, int32 startIndex)" />
<MemberSignature Language="C#" Value="public virtual int LastIndexOf (object value, int startIndex);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
<Parameter Name="startIndex" Type="System.Int32" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.Object" /> to locate in the current instance.</param>
<param name="startIndex">A <see cref="T:System.Int32" /> that specifies the index at which searching starts. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance - 1, inclusive.</param>
<summary>
<para>Searches the current instance, returning the index of
the last occurrence of the specified <see cref="T:System.Object" /> in
the specified range of the current instance.</para>
</summary>
<returns>
<para>A <see cref="T:System.Int32" /> that specifies the index of the last occurrence of <paramref name="value" /> in
the range of <paramref name="startIndex" />
through the first element of the current
instance, if found; otherwise, -1.</para>
<para>
<block subset="none" type="note">This provides the caller with a standard
code for a failed search.</block>
</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">
<para>The ArrayList is searched backward starting at <paramref name="startIndex" />.</para>
<para>This method uses
<see cref="M:System.Array.LastIndexOf(System.Array,System.Object)" qualify="true" /> to search the current instance for
<paramref name="value" />.</para>
</block>
</para>
<para>
<block subset="none" type="note"> For the default implementation, this method performs a linear search. On average, this is an
O(<paramref name="count" />/2)
operation. The longest search is
an O(<paramref name="count" />) operation.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="startIndex" /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="startIndex" /> >= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="LastIndexOf">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 LastIndexOf(object value, int32 startIndex, int32 count)" />
<MemberSignature Language="C#" Value="public virtual int LastIndexOf (object value, int startIndex, int count);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
<Parameter Name="startIndex" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.Object" /> to locate in the current instance.</param>
<param name="startIndex">A <see cref="T:System.Int32" /> that specifies the index at which searching starts.</param>
<param name="count">A <see cref="T:System.Int32" /> that specifies the number of elements to search, beginning with <paramref name="startIndex" /> .</param>
<summary>
<para> Searches the current instance, returning the index of
the last occurrence of the specified <see cref="T:System.Object" /> in the specified range.</para>
</summary>
<returns>
<para>A <see cref="T:System.Int32" /> that specifies the index of the last occurrence of value in the current
instance, within the range <paramref name="startIndex" /> through
<paramref name="startIndex" /> - <paramref name="count" /> + 1, if found; otherwise, -1. </para>
<para>
<block subset="none" type="note">This provides the caller with a standard
code for a failed search.</block>
</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">
<para>The ArrayList is searched backward starting at <paramref name="startIndex" /> and ending at <paramref name="startIndex" /> - <paramref name="count" /> + 1.</para>
<para>This method uses
<see cref="M:System.Array.LastIndexOf(System.Array,System.Object)" qualify="true" /> to search the current instance for
<paramref name="value" />.</para>
</block>
</para>
<para>
<block subset="none" type="note"> For the default implementation, this method
performs a linear search. On average, this is an O(<paramref name="count" />/2)
operation. The longest search is an O(<paramref name="count" />) operation.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="startIndex" /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="count" /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="startIndex" /> >= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para>
<para>-or-</para>
<para>
<paramref name="count" /> >= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para>
<para>-or-</para>
<para>
<paramref name="count" /> > <paramref name="startIndex" /> + 1.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ReadOnly">
<MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Collections.ArrayList ReadOnly(class System.Collections.ArrayList list)" />
<MemberSignature Language="C#" Value="public static System.Collections.ArrayList ReadOnly (System.Collections.ArrayList arrayList);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.ArrayList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="arrayList" Type="System.Collections.ArrayList" />
</Parameters>
<Docs>
<param name="arrayList">The <see cref="T:System.Collections.ArrayList" /> to wrap.</param>
<summary>
<para>Returns a read-only <see cref="T:System.Collections.ArrayList" />
wrapper.</para>
</summary>
<returns>
<para>A read-only <see cref="T:System.Collections.ArrayList" />
wrapper around <paramref name="list" />.</para>
</returns>
<remarks>
<para>This method returns a read-only <see cref="T:System.Collections.ArrayList" /> that contains a reference to <paramref name="list" />. Operations that attempt add to, delete from, or
modify the elements of this new list will throw <see cref="T:System.NotSupportedException" />. Any modifications of the
elements <paramref name="list" /> will be reflected in the new list.</para>
<block subset="none" type="note">
<para>The <see cref="P:System.Collections.ArrayList.IsReadOnly" /> and <see cref="P:System.Collections.ArrayList.IsFixedSize" /> properties of the new list are <see langword="true" />. Every other property value of the new list
references the same property value of <paramref name="list" />. </para>
<para>By performing operations on the new list, this wrapper can be used to prevent
additions to, deletions from, and modifications of the <see cref="T:System.Collections.ArrayList" /><paramref name="list" />.</para>
</block>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="list" /> is <see langword="null" />. </exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ReadOnly">
<MemberSignature Language="C#" Value="public static System.Collections.IList ReadOnly (System.Collections.IList list);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.IList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="list" Type="System.Collections.IList" />
</Parameters>
<Docs>
<param name="list">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Remove(object obj)" />
<MemberSignature Language="C#" Value="public virtual void Remove (object value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.Object" /> to remove from the current instance.</param>
<summary>
<para>Removes the first occurrence of the
specified <see cref="T:System.Object" /> from
the current instance.</para>
</summary>
<remarks>
<para>
<block subset="none" type="note">This method is implemented to support
the <see cref="T:System.Collections.IList" /> interface.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<block subset="none" type="default">
<para>This method determines equality by calling <see cref="M:System.Object.Equals(System.Object)" qualify="true" />.</para>
<para>If <paramref name="obj" /> is found in the current
instance, <paramref name="obj" /> is removed from the current instance, the rest of the
elements are shifted down to fill the position vacated by <paramref name="obj" />, the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance is
decreased by one, and the position that was previously the last element in the
current instance is set to <see langword="null" />. If <paramref name="obj" /> is not found in the
current instance, the current instance remains
unchanged.</para>
</block>
<para>
<block subset="none" type="note">For the default implementation, this method performs a linear search.
On average, this is an O(<paramref name="n" />/2) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.
The longest search is an O(<paramref name="n" />) operation.</block>
</para>
</remarks>
<exception cref="T:System.NotSupportedException">
<para>The current instance is read-only or has a fixed size.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="RemoveAt">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void RemoveAt(int32 index)" />
<MemberSignature Language="C#" Value="public virtual void RemoveAt (int index);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">A <see cref="T:System.Int32" /> that specifies the zero-based index of the element to remove from the current instance. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance, inclusive.</param>
<summary>
<para>Removes the element at the specified index from the
current instance.</para>
</summary>
<remarks>
<para>
<block subset="none" type="note">This method is implemented to support
the <see cref="T:System.Collections.IList" /> interface.</block>
</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default"> The element at position <paramref name="index" /> is removed from
the current instance, the rest of the elements are shifted down to fill the
position vacated by that element, the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance is
decreased by one, and the position that was previously the last element in the current instance is set to <see langword="null" />.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="index" /> >= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para>
</exception>
<exception cref="T:System.NotSupportedException">
<para>The current instance is read-only or has a fixed size.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="RemoveRange">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void RemoveRange(int32 index, int32 count)" />
<MemberSignature Language="C#" Value="public virtual void RemoveRange (int index, int count);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">A <see cref="T:System.Int32" /> that specifies the zero-based index of the first element of the range of elements in the current instance to remove. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="count" /> , inclusive.</param>
<param name="count">A <see cref="T:System.Int32" /> that specifies the number of elements to remove. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="index" /> , inclusive.</param>
<summary>
<para>Removes the specified range of elements from the current instance.</para>
</summary>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">The elements in the range of <paramref name="index" /> to <paramref name="index" /> +
<paramref name="count " /> - 1 are removed from the current instance, the rest of the
elements are shifted down to fill the position vacated by those elements, the
<see cref="P:System.Collections.ArrayList.Count" /> of the current instance is
decreased by <paramref name="count" />, and the <paramref name="count" /> positions that were
previously the last elements in the current instance are set to
<see langword="null" />
.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="count" /> < 0.</para>
</exception>
<exception cref="T:System.ArgumentException">
<see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> < <paramref name="count" />.</exception>
<exception cref="T:System.NotSupportedException">
<para>The current instance is read-only or has a fixed size.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Repeat">
<MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Collections.ArrayList Repeat(object value, int32 count)" />
<MemberSignature Language="C#" Value="public static System.Collections.ArrayList Repeat (object value, int count);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.ArrayList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="value">
<para>The <see cref="T:System.Object" /> used to initialize the new <see cref="T:System.Collections.ArrayList" /> instance.</para>
</param>
<param name="count">A <see cref="T:System.Int32" /> that specifies the number of times <paramref name="value" /> is copied into the new <see cref="T:System.Collections.ArrayList" /> instance.</param>
<summary>
<para>Returns a new <see cref="T:System.Collections.ArrayList" /> whose elements are copies of the specified
<see cref="T:System.Object" />.</para>
</summary>
<returns>
<para>A new <see cref="T:System.Collections.ArrayList" />
with <paramref name="count" /> number of elements, all of which are copies of
<paramref name="value" />.</para>
</returns>
<remarks>
<para>If <paramref name="count" /> is less than the default initial capacity, 16,
the <see cref="P:System.Collections.ArrayList.Capacity" /> of the new <see cref="T:System.Collections.ArrayList" /> instance is set to the default initial
capacity. Otherwise, the capacity is set to <paramref name="count" />
. The <see cref="P:System.Collections.ArrayList.Count" /> of the new instance is set
to <paramref name="count" />.</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="count" /> < 0.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Reverse">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Reverse()" />
<MemberSignature Language="C#" Value="public virtual void Reverse ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Reverses the sequence of the elements in the current
instance.</para>
</summary>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method uses <see cref="M:System.Array.Reverse(System.Array)" /> to modify the ordering of
the elements in the current instance.</block>
</para>
</remarks>
<exception cref="T:System.NotSupportedException">The current instance is read-only.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Reverse">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Reverse(int32 index, int32 count)" />
<MemberSignature Language="C#" Value="public virtual void Reverse (int index, int count);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">A <see cref="T:System.Int32" /> that specifies the zero-based index in the current instance at which reversing starts. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="count" /> , inclusive.</param>
<param name="count">A <see cref="T:System.Int32" /> that specifies the number of elements to reverse. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="index" /> , inclusive.</param>
<summary>
<para>Reverses the sequence of the elements in the specified range of the
current instance.</para>
</summary>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method uses <see cref="M:System.Array.Reverse(System.Array)" qualify="true" /> to modify
the ordering of the current instance.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0.</para>
<para> -or-</para>
<para>
<paramref name="count" /> < 0.</para>
</exception>
<exception cref="T:System.ArgumentException">
<para>
<see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> < <paramref name="count" />.</para>
</exception>
<exception cref="T:System.NotSupportedException">The current instance is read-only.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SetRange">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void SetRange(int32 index, class System.Collections.ICollection c)" />
<MemberSignature Language="C#" Value="public virtual void SetRange (int index, System.Collections.ICollection c);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="c" Type="System.Collections.ICollection" />
</Parameters>
<Docs>
<param name="index">A <see cref="T:System.Int32" /> that specifies the zero-based index in the current instance at which to start copying the elements of <paramref name="c" />. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="c" />.Count, inclusive.</param>
<param name="c">The <see cref="T:System.Collections.ICollection" /> whose elements to copy to the current instance.</param>
<summary>
<para>Copies the elements of the specified <see cref="T:System.Collections.ICollection" /> to a
range in the current instance.</para>
</summary>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method uses
the <see cref="M:System.Collections.ICollection.CopyTo(System.Array,System.Int32)" qualify="true" /> implementation of <see cref="T:System.Collections.ICollection" /><paramref name="c" />.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0.</para>
<para> -or-</para>
<para>
<see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> < <paramref name="c" />.Count.</para>
</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="c" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">The current instance is read-only.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Sort">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Sort()" />
<MemberSignature Language="C#" Value="public virtual void Sort ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Sorts the elements of the current instance.</para>
</summary>
<remarks>
<para>The <see cref="T:System.IComparable" /> implementation of each element in the current instance is used to make the sorting comparisons.</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">If the sort is not successfully completed, the results are unspecified.</block>
</para>
<para>
<block subset="none" type="note">For the default implementation, this method uses <see cref="M:System.Array.Sort(System.Array)" qualify="true" />, which uses the Quicksort algorithm. This is
an O(<paramref name="n" /> log<subscript term="2" /><paramref name="n" />) operation, where <paramref name="n" /> is the number of elements to sort.</block>
</para>
</remarks>
<exception cref="T:System.InvalidCastException">One or more elements in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</exception>
<exception cref="T:System.NotSupportedException">The current instance is read-only.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Sort">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Sort(class System.Collections.IComparer comparer)" />
<MemberSignature Language="C#" Value="public virtual void Sort (System.Collections.IComparer comparer);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="comparer" Type="System.Collections.IComparer" />
</Parameters>
<Docs>
<param name="comparer">
<para>The <see cref="T:System.Collections.IComparer" /> implementation to use when comparing elements. Specify <see langword="null" /> to use the <see cref="T:System.IComparable" /> implementation of each element in the current instance.</para>
</param>
<summary>
<para>Sorts the elements of current instance using the specified <see cref="T:System.Collections.IComparer" />.</para>
</summary>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">If <paramref name="comparer" /> is <see langword="null" />, the <see cref="T:System.IComparable" /> implementation of
each element in the current instance is used to make the sorting comparisons. If
the sort is not successfully completed, the results are unspecified.</block>
</para>
<para>
<block subset="none" type="note">For the default implementation, this method uses <see cref="M:System.Array.Sort(System.Array)" qualify="true" />, which
uses the Quicksort algorithm. This is an O(<paramref name="n" /> log<subscript term="2" /><paramref name="n" />)
operation, where <paramref name="n" /> is the number of elements to sort.</block>
</para>
</remarks>
<exception cref="T:System.InvalidCastException">
<paramref name="comparer" /> is <see langword="null" />, and one or more elements in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</exception>
<exception cref="T:System.NotSupportedException">The current instance is read-only.</exception>
<exception cref="T:System.InvalidOperationException">
<paramref name="comparer" /> is <see langword="null" />, and one or more elements in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Sort">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Sort(int32 index, int32 count, class System.Collections.IComparer comparer)" />
<MemberSignature Language="C#" Value="public virtual void Sort (int index, int count, System.Collections.IComparer comparer);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
<Parameter Name="comparer" Type="System.Collections.IComparer" />
</Parameters>
<Docs>
<param name="index">A <see cref="T:System.Int32" /> that specifies the zero-based index at which sorting starts. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="count" /> , inclusive.</param>
<param name="count">A <see cref="T:System.Int32" /> that specifies the number of elements to sort. This value is between 0 and the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance minus <paramref name="index" /> , inclusive.</param>
<param name="comparer">
<para>The <see cref="T:System.Collections.IComparer" /> implementation to use when comparing elements. Specify <see langword="null" /> to use the <see cref="T:System.IComparable" /> implementation of each element in the current instance.</para>
</param>
<summary>
<para> Sorts the elements in the specified range of the current instance
using the specified <see cref="T:System.Collections.IComparer" /> implementation.</para>
</summary>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">If <paramref name="comparer" /> is <see langword="null" />, the <see cref="T:System.IComparable" /> implementation of
each element in the current instance is used to make the sorting comparisons. If
the sort is not successfully completed, the results are unspecified.</block>
</para>
<para>
<block subset="none" type="note"> For the default implementation, this method uses <see cref="M:System.Array.Sort(System.Array)" qualify="true" />, which
uses the Quicksort algorithm. This is an O(<paramref name="n" /> log<subscript term="2" /><paramref name="n" />)
operation, where <paramref name="n" /> is the number of elements to sort.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="index" /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="count" /> < 0.</para>
</exception>
<exception cref="T:System.ArgumentException">
<para>
<see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> < <paramref name="count" />.</para>
</exception>
<exception cref="T:System.InvalidCastException">
<paramref name="comparer" /> is <see langword="null" />, and one or more elements in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</exception>
<exception cref="T:System.NotSupportedException">The current instance is read-only.</exception>
<exception cref="T:System.InvalidOperationException">
<paramref name="comparer" /> is <see langword="null" />, and one or more elements in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Synchronized">
<MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Collections.ArrayList Synchronized(class System.Collections.ArrayList list)" />
<MemberSignature Language="C#" Value="public static System.Collections.ArrayList Synchronized (System.Collections.ArrayList arrayList);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.ArrayList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="arrayList" Type="System.Collections.ArrayList" />
</Parameters>
<Docs>
<param name="arrayList">The <see cref="T:System.Collections.ArrayList" /> to synchronize.</param>
<summary>
<para>Returns a <see cref="T:System.Collections.ArrayList" /> wrapper around the specified <see cref="T:System.Collections.ArrayList" />
that is synchronized (thread-safe).</para>
</summary>
<returns>
<para>A <see cref="T:System.Collections.ArrayList" /> wrapper that is
synchronized (thread-safe).</para>
</returns>
<remarks>
<para>This method returns a thread-safe <see cref="T:System.Collections.ArrayList" /> that contains a reference to <paramref name="list" />. Any modifications of the elements in either
the returned list or <paramref name="list" /> will be reflected in the other. </para>
<block subset="none" type="note">
<para>The <see cref="P:System.Collections.ArrayList.IsSynchronized" /> property of the new list is
<see langword="true" />. Every other property value of the new list
references the same property value of <paramref name="list" />. </para>
<para>By performing operations on the new list, this wrapper can be used to
guarantee thread-safe access to the <see cref="T:System.Collections.ArrayList" /><paramref name="list" />.</para>
</block>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="list" /> is <see langword="null" />. </exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Synchronized">
<MemberSignature Language="C#" Value="public static System.Collections.IList Synchronized (System.Collections.IList list);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.IList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="list" Type="System.Collections.IList" />
</Parameters>
<Docs>
<param name="list">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SyncRoot">
<MemberSignature Language="ILASM" Value=".property object SyncRoot { public hidebysig virtual specialname object get_SyncRoot() }" />
<MemberSignature Language="C#" Value="public virtual object SyncRoot { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Implemented to support the <see cref="T:System.Collections.ICollection" /> interface. [Note: For more information, see <see cref="M:System.Collections.ICollection.SyncRoot" />.]</summary>
<value>
<para>A <see cref="T:System.Object" /> that can be used to synchronize access to the
current instance.</para>
</value>
<remarks>
<para>This property is read-only.</para>
<para> Program code must perform synchronized operations
on the <see cref="P:System.Collections.ArrayList.SyncRoot" /> of
the current instance, not directly on the current instance. This ensures proper
operation of collections that are derived from other objects. Specifically, it
maintains proper synchronization with other threads that might be simultaneously
modifying the current instance.</para>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">This method
returns a reference to the current
instance.</block>
</para>
<para>
<block subset="none" type="note">This property is implemented to support the <see cref="T:System.Collections.IList" />
interface.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ToArray">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Object[] ToArray()" />
<MemberSignature Language="C#" Value="public virtual object[] ToArray ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Object[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Copies the elements of the current instance
to a new <see cref="T:System.Object" /> array.</para>
</summary>
<returns>
<para>A <see cref="T:System.Object" /> array containing
copies of the elements of the current instance.</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">The elements are copied using <see cref="M:System.Array.Copy(System.Array,System.Array,System.Int32)" qualify="true" />.</block>
</para>
<para>
<block subset="none" type="note">For the default implementation, this method is an O(<paramref name="n" />) operation, where
<paramref name="n" /> is
the <see cref="P:System.Collections.ArrayList.Count" /> of the
current instance.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ToArray">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Array ToArray(class System.Type type)" />
<MemberSignature Language="C#" Value="public virtual Array ToArray (Type elementType);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Array</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="elementType" Type="System.Type" />
</Parameters>
<Docs>
<param name="elementType">The <see cref="T:System.Type" /> of the <see cref="T:System.Array" /> to create and copy the elements of the current instance.</param>
<summary>
<para>Copies the elements of the current instance to a new
array
of the specified <see cref="T:System.Type" />.</para>
</summary>
<returns>
<para>An array of <see cref="T:System.Type" /><paramref name="type" /> containing copies of the elements of the current
instance.</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">The elements are copied using <see cref="M:System.Array.Copy(System.Array,System.Array,System.Int32)" qualify="true" />.</block>
</para>
<para>
<block subset="none" type="note">For the default implementation, this method is
an O(<paramref name="n" />) operation, where <paramref name="n" /> is
the <see cref="P:System.Collections.ArrayList.Count" /> of the
current instance.</block>
</para>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="type" /> is <see langword="null" />.</exception>
<exception cref="T:System.InvalidCastException">At least one element of the current instance cannot be cast to the <see cref="T:System.Type" /><paramref name="type" />.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="TrimToSize">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void TrimToSize()" />
<MemberSignature Language="C#" Value="public virtual void TrimToSize ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Sets the <see cref="P:System.Collections.ArrayList.Capacity" /> of the current instance to
the <see cref="P:System.Collections.ArrayList.Count" /> of
the current instance.</para>
</summary>
<remarks>
<block subset="none" type="note">
<para>This method can be used to minimize the memory overhead of the current
instance if no new elements will be added to it.</para>
<para>To completely clear all elements from the current instance, call the <see cref="M:System.Collections.ArrayList.Clear" /> method before calling <see cref="M:System.Collections.ArrayList.TrimToSize" />.</para>
</block>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">If the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance is
zero, the <see cref="P:System.Collections.ArrayList.Capacity" /> of the
current instance is set to the default initial
capacity of 16.</block>
</para>
</remarks>
<exception cref="T:System.NotSupportedException">
<para>The current instance is read-only or has a fixed size.</para>
</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
<TypeExcluded>0</TypeExcluded>
</Type>
|